Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 112.6 kB / 16.37 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 190 kB / 17.3 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8112/0.8112, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 58.16 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1613, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6331/0.7944, allocations: 193.8 MB / 0.8496 GB, free: 360 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009186/0.8037, allocations: 5.142 MB / 0.8546 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.8054, allocations: 47.22 kB / 0.8547 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.8077, allocations: 0.8092 MB / 0.8554 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006567/0.8143, allocations: 2.603 MB / 0.858 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.8172, allocations: 1.107 MB / 0.8591 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003581/0.8208, allocations: 2.612 MB / 0.8616 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.8222, allocations: 0.8961 MB / 0.8625 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.8244, allocations: 1.08 MB / 0.8635 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.8258, allocations: 0.9494 MB / 0.8645 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.826, allocations: 80 kB / 0.8645 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.8296, allocations: 1.781 MB / 0.8663 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.8301, allocations: 434.5 kB / 0.8667 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008583/0.831, allocations: 0.6449 MB / 0.8673 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.8348, allocations: 2.169 MB / 0.8694 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8348, allocations: 0 / 0.8694 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.166e-06/0.8348, allocations: 4 kB / 0.8695 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.8348, allocations: 0 / 0.8695 GB, free: 15.79 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004901/0.8397, allocations: 1.918 MB / 0.8713 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.8398, allocations: 8.031 kB / 0.8713 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/0.8438, allocations: 0.6654 MB / 0.872 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.8456, allocations: 0.9487 MB / 0.8729 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.8457, allocations: 69.98 kB / 0.873 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.8459, allocations: 87.98 kB / 0.8731 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.8492, allocations: 1.47 MB / 0.8745 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.8492, allocations: 7.938 kB / 0.8745 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.8493, allocations: 32 kB / 0.8745 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/0.8494, allocations: 49.98 kB / 0.8746 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004098/0.8535, allocations: 1.526 MB / 0.8761 GB, free: 8.816 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007681/0.8612, allocations: 5.474 MB / 0.8814 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003794/0.865, allocations: 1.271 MB / 0.8827 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.8668, allocations: 0.6594 MB / 0.8833 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008992/0.8677, allocations: 0.5851 MB / 0.8839 GB, free: 432 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001899/0.8696, allocations: 0.7113 MB / 0.8846 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 3.617e-06/0.8696, allocations: 0 / 0.8846 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.005763/0.8754, allocations: 1.878 MB / 0.8864 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.8755, allocations: 64 kB / 0.8865 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.8771, allocations: 1.239 MB / 0.8877 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.8772, allocations: 45.7 kB / 0.8877 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.8777, allocations: 0.5753 MB / 0.8883 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.8779, allocations: 284.1 kB / 0.8885 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.8783, allocations: 182.5 kB / 0.8887 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.8784, allocations: 341.9 kB / 0.889 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.8801, allocations: 0.5366 MB / 0.8896 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.8819, allocations: 0.8212 MB / 0.8904 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/0.8853, allocations: 1.328 MB / 0.8917 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.8853, allocations: 0 / 0.8917 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004069/0.8894, allocations: 1.499 MB / 0.8931 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.8895, allocations: 11.98 kB / 0.8931 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.8895, allocations: 8 kB / 0.8932 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.8895, allocations: 12 kB / 0.8932 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.891, allocations: 291.8 kB / 0.8934 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/0.891, allocations: 19.88 kB / 0.8935 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.8924, allocations: 194.8 kB / 0.8937 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.8925, allocations: 47.97 kB / 0.8937 GB, free: 6.074 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005972/0.8931, allocations: 335.7 kB / 0.894 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.8934, allocations: 142.2 kB / 0.8942 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.8973, allocations: 1.408 MB / 0.8955 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.8973, allocations: 8 kB / 0.8955 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.8973, allocations: 1.438 kB / 0.8955 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.8973, allocations: 3.984 kB / 0.8955 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005941/0.9033, allocations: 2.81 MB / 0.8983 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.9033, allocations: 4 kB / 0.8983 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.9046, allocations: 224.1 kB / 0.8985 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.9046, allocations: 8 kB / 0.8985 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/0.9047, allocations: 31.97 kB / 0.8985 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.9047, allocations: 8 kB / 0.8985 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.9047, allocations: 4 kB / 0.8986 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00562/0.9103, allocations: 2.256 MB / 0.9008 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006504/0.911, allocations: 291.3 kB / 0.901 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.9112, allocations: 24.81 kB / 0.9011 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.9123, allocations: 111.9 kB / 0.9012 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.9124, allocations: 64.36 kB / 0.9012 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/0.9125, allocations: 35.97 kB / 0.9013 GB, free: 14.12 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001106/0.9136, allocations: 0.8522 MB / 0.9021 GB, free: 13.27 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9136, allocations: 0 / 0.9021 GB, free: 13.27 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001084/0.9147, allocations: 319.6 kB / 0.9024 GB, free: 12.95 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001274/0.916, allocations: 0.5332 MB / 0.9029 GB, free: 12.62 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003727/0.9197, allocations: 1.283 MB / 0.9042 GB, free: 11.33 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.9198, allocations: 4 kB / 0.9042 GB, free: 11.33 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.9215, allocations: 0.6443 MB / 0.9048 GB, free: 10.68 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/0.9242, allocations: 0.5905 MB / 0.9054 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.9294, allocations: 2.63 MB / 0.9079 GB, free: 7.395 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007756/0.9302, allocations: 1.173 MB / 0.9091 GB, free: 6.195 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005679/0.9308, allocations: 127.4 kB / 0.9092 GB, free: 6.07 MB / 0.67 GB Notification: Performance of SimCode: time 8.92e-07/0.9308, allocations: 0 / 0.9092 GB, free: 6.07 MB / 0.67 GB Notification: Performance of Templates: time 0.03059/0.9614, allocations: 20.34 MB / 0.9291 GB, free: 1.852 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)