Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009355, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009471/0.009471, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9441/0.9441, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 13.7 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2091, allocations: 82.3 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5244/0.7336, allocations: 189 MB / 0.7725 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.7443, allocations: 5.148 MB / 0.7775 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.7462, allocations: 43.62 kB / 0.7776 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.7482, allocations: 0.7038 MB / 0.7783 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006939/0.7551, allocations: 2.448 MB / 0.7807 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.758, allocations: 0.9975 MB / 0.7816 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004453/0.7624, allocations: 3.535 MB / 0.7851 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.7638, allocations: 0.8077 MB / 0.7859 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.7658, allocations: 0.9881 MB / 0.7868 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.767, allocations: 0.9689 MB / 0.7878 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.7672, allocations: 48 kB / 0.7878 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.771, allocations: 2.061 MB / 0.7898 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004663/0.7715, allocations: 414.6 kB / 0.7902 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007415/0.7722, allocations: 0.6348 MB / 0.7909 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.7759, allocations: 2.204 MB / 0.793 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.7759, allocations: 0 / 0.793 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7759, allocations: 0 / 0.793 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.776, allocations: 0 / 0.793 GB, free: 10.6 MB / 0.6075 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.004712/0.7807, allocations: 1.679 MB / 0.7947 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.7807, allocations: 12.03 kB / 0.7947 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004584/0.7853, allocations: 0.7482 MB / 0.7954 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.7868, allocations: 0.8981 MB / 0.7963 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/0.7869, allocations: 62 kB / 0.7963 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.7871, allocations: 88 kB / 0.7964 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/0.7903, allocations: 1.48 MB / 0.7979 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.7903, allocations: 0 / 0.7979 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.7904, allocations: 39.98 kB / 0.7979 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-05/0.7905, allocations: 45.98 kB / 0.7979 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004181/0.7947, allocations: 1.585 MB / 0.7995 GB, free: 3.789 MB / 0.6075 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.006764/0.8014, allocations: 5.051 MB / 0.8044 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/0.805, allocations: 1.241 MB / 0.8056 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.807, allocations: 0.6724 MB / 0.8063 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/0.8085, allocations: 0.9566 MB / 0.8072 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001937/0.8104, allocations: 0.7365 MB / 0.8079 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.956e-06/0.8104, allocations: 0 / 0.8079 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.006167/0.8166, allocations: 1.991 MB / 0.8099 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.8167, allocations: 60.06 kB / 0.8099 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.8183, allocations: 1.275 MB / 0.8112 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.8184, allocations: 41.7 kB / 0.8112 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.8189, allocations: 0.5716 MB / 0.8118 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.8191, allocations: 284 kB / 0.8121 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.8193, allocations: 73.69 kB / 0.8121 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.8194, allocations: 349.9 kB / 0.8125 GB, free: 6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.8211, allocations: 0.5562 MB / 0.813 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.823, allocations: 0.8364 MB / 0.8138 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.8266, allocations: 1.359 MB / 0.8152 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.8266, allocations: 0 / 0.8152 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00412/0.8307, allocations: 1.542 MB / 0.8167 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.8308, allocations: 8.094 kB / 0.8167 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.8308, allocations: 19.91 kB / 0.8167 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.8308, allocations: 12 kB / 0.8167 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.8323, allocations: 295.6 kB / 0.817 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.8323, allocations: 15.94 kB / 0.817 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.8338, allocations: 226.6 kB / 0.8172 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.876e-05/0.8339, allocations: 51.97 kB / 0.8173 GB, free: 0.8867 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005677/0.8345, allocations: 335.7 kB / 0.8176 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.8348, allocations: 134.3 kB / 0.8177 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.8389, allocations: 1.472 MB / 0.8191 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.8389, allocations: 8 kB / 0.8192 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8389, allocations: 0.875 kB / 0.8192 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.839, allocations: 11.92 kB / 0.8192 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006049/0.845, allocations: 2.884 MB / 0.822 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.8451, allocations: 4 kB / 0.822 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.8464, allocations: 236.2 kB / 0.8222 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.8464, allocations: 4 kB / 0.8222 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.079e-05/0.8465, allocations: 39.95 kB / 0.8223 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.8465, allocations: 15.92 kB / 0.8223 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.8465, allocations: 4 kB / 0.8223 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005756/0.8523, allocations: 2.338 MB / 0.8246 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000696/0.853, allocations: 319.1 kB / 0.8249 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.8532, allocations: 24 kB / 0.8249 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.8544, allocations: 127.9 kB / 0.825 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.8545, allocations: 64.36 kB / 0.8251 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.434e-05/0.8546, allocations: 39.97 kB / 0.8251 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001268/0.8559, allocations: 0.8723 MB / 0.826 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8559, allocations: 0 / 0.826 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001121/0.8571, allocations: 315.7 kB / 0.8263 GB, free: 7.469 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.001414/0.8585, allocations: 0.5379 MB / 0.8268 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004017/0.8625, allocations: 1.324 MB / 0.8281 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.8625, allocations: 0 / 0.8281 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.8644, allocations: 0.6678 MB / 0.8287 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/0.8682, allocations: 0.6047 MB / 0.8293 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005575/0.8738, allocations: 3.055 MB / 0.8323 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009882/0.8748, allocations: 1.175 MB / 0.8334 GB, free: 200 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001715/0.8765, allocations: 362.1 kB / 0.8338 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.8769, allocations: 111.4 kB / 0.8339 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of SimCode: time 2.695e-06/0.8769, allocations: 4 kB / 0.8339 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.04052/0.9175, allocations: 21.98 MB / 0.8554 GB, free: 10.02 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)