Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004998/0.004998, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001359/0.001359, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8438/0.8438, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 59.47 kB / 0.5809 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1458, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5123/0.6581, allocations: 193.8 MB / 0.8485 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008912/0.6671, allocations: 5.141 MB / 0.8535 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00088/0.668, allocations: 47.12 kB / 0.8536 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.6697, allocations: 0.8074 MB / 0.8544 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005746/0.6755, allocations: 2.597 MB / 0.8569 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.6785, allocations: 1.111 MB / 0.858 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002921/0.6815, allocations: 2.602 MB / 0.8605 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.6826, allocations: 0.8818 MB / 0.8614 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.6845, allocations: 1.091 MB / 0.8624 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.6859, allocations: 0.9534 MB / 0.8634 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.686, allocations: 80 kB / 0.8635 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/0.6894, allocations: 1.785 MB / 0.8652 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.6899, allocations: 442.6 kB / 0.8656 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006765/0.6906, allocations: 0.6526 MB / 0.8663 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.6935, allocations: 2.186 MB / 0.8684 GB, free: 0 / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.6935, allocations: 4.109 kB / 0.8684 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6935, allocations: 3.938 kB / 0.8684 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.6936, allocations: 0 / 0.8684 GB, free: 15.99 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.004885/0.6984, allocations: 1.982 MB / 0.8703 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.6985, allocations: 8.031 kB / 0.8703 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001748/0.6987, allocations: 143.4 kB / 0.8705 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/0.7031, allocations: 0.7169 MB / 0.8712 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.7048, allocations: 0.9616 MB / 0.8721 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.7049, allocations: 70.86 kB / 0.8722 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.705, allocations: 87.98 kB / 0.8723 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/0.7084, allocations: 1.465 MB / 0.8737 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.7084, allocations: 3.984 kB / 0.8737 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.7085, allocations: 36 kB / 0.8737 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.477e-05/0.7086, allocations: 45.98 kB / 0.8738 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004436/0.713, allocations: 1.561 MB / 0.8753 GB, free: 8.73 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.006997/0.7201, allocations: 5.031 MB / 0.8802 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003589/0.7237, allocations: 1.18 MB / 0.8814 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.7255, allocations: 0.6668 MB / 0.882 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.7269, allocations: 0.941 MB / 0.8829 GB, free: 464 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002003/0.7289, allocations: 0.7259 MB / 0.8837 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.246e-06/0.7289, allocations: 0 / 0.8837 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.00639/0.7353, allocations: 1.961 MB / 0.8856 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.7354, allocations: 68.06 kB / 0.8856 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.7371, allocations: 1.264 MB / 0.8869 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-05/0.7372, allocations: 49.69 kB / 0.8869 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005282/0.7377, allocations: 0.5763 MB / 0.8875 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.738, allocations: 301.5 kB / 0.8878 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.7384, allocations: 182.6 kB / 0.8879 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.7385, allocations: 345.9 kB / 0.8883 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.7403, allocations: 0.5406 MB / 0.8888 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.7424, allocations: 0.8208 MB / 0.8896 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003695/0.7461, allocations: 1.348 MB / 0.8909 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.7461, allocations: 4 kB / 0.8909 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004367/0.7505, allocations: 1.519 MB / 0.8924 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.7505, allocations: 8 kB / 0.8924 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7505, allocations: 8 kB / 0.8924 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.7506, allocations: 12 kB / 0.8924 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.7521, allocations: 299.8 kB / 0.8927 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.938e-05/0.7521, allocations: 23.86 kB / 0.8927 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.7535, allocations: 199 kB / 0.8929 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.7536, allocations: 47.97 kB / 0.893 GB, free: 5.914 MB / 0.6544 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.0005661/0.7542, allocations: 337.1 kB / 0.8933 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.7544, allocations: 147.1 kB / 0.8934 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004284/0.7587, allocations: 1.44 MB / 0.8948 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.7587, allocations: 8 kB / 0.8948 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.7587, allocations: 3.938 kB / 0.8949 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.7588, allocations: 8.078 kB / 0.8949 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006309/0.7651, allocations: 2.862 MB / 0.8977 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.7651, allocations: 4 kB / 0.8977 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.7664, allocations: 232.2 kB / 0.8979 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.7665, allocations: 4.625 kB / 0.8979 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/0.7665, allocations: 23.98 kB / 0.8979 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.7666, allocations: 11.98 kB / 0.8979 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/0.7666, allocations: 11.88 kB / 0.8979 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006122/0.7727, allocations: 2.311 MB / 0.9002 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/0.7733, allocations: 311.6 kB / 0.9005 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.7735, allocations: 27.98 kB / 0.9005 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.7747, allocations: 115.8 kB / 0.9006 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.7749, allocations: 60.36 kB / 0.9007 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.201e-05/0.775, allocations: 43.91 kB / 0.9007 GB, free: 13.78 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001179/0.7762, allocations: 0.8723 MB / 0.9016 GB, free: 12.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7762, allocations: 0 / 0.9016 GB, free: 12.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001004/0.7772, allocations: 319.7 kB / 0.9019 GB, free: 12.59 MB / 0.67 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.008202/0.7854, allocations: 3.299 MB / 0.9051 GB, free: 9.418 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004042/0.7894, allocations: 1.316 MB / 0.9064 GB, free: 8.105 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.7895, allocations: 0 / 0.9064 GB, free: 8.105 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.7915, allocations: 0.6599 MB / 0.907 GB, free: 7.445 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/0.7945, allocations: 0.6248 MB / 0.9076 GB, free: 6.84 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/0.816, allocations: 11.15 MB / 0.9185 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008602/0.8169, allocations: 1.179 MB / 0.9197 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001298/0.8182, allocations: 346.2 kB / 0.92 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008277/0.819, allocations: 499.2 kB / 0.9205 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/0.819, allocations: 3.938 kB / 0.9205 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.536/1.355, allocations: 35 MB / 0.9547 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/12.24, allocations: 7.922 kB / 0.9547 GB, free: 6.551 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)