Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") translateModel(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009393/0.0009395, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.389/0.389, allocations: 54.98 MB / 325.4 MB, free: 0.7305 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005529/0.000553, allocations: 19.98 kB / 396.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3573, allocations: 60.72 MB / 457.3 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.01623/0.3735, allocations: 18.98 MB / 476.3 MB, free: 28.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.3784, allocations: 3.895 MB / 480.2 MB, free: 25.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.3789, allocations: 20.97 kB / 480.2 MB, free: 25.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009237/0.3799, allocations: 336 kB / 480.5 MB, free: 25.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.3818, allocations: 0.8624 MB / 481.4 MB, free: 25.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.3834, allocations: 0.6186 MB / 482 MB, free: 24.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.3847, allocations: 1.063 MB / 483.1 MB, free: 24.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005841/0.3853, allocations: 469.2 kB / 483.5 MB, free: 24.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.3864, allocations: 0.6949 MB / 484.2 MB, free: 23.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00051/0.3869, allocations: 482.5 kB / 484.7 MB, free: 23.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.387, allocations: 31.59 kB / 484.7 MB, free: 23.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000931/0.3879, allocations: 0.4926 MB / 485.2 MB, free: 23.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3881, allocations: 173.5 kB / 485.4 MB, free: 23.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.3883, allocations: 185.2 kB / 485.6 MB, free: 23.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000844/0.3891, allocations: 0.8881 MB / 486.5 MB, free: 23.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3891, allocations: 0 / 486.5 MB, free: 23.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3891, allocations: 4 kB / 486.5 MB, free: 23.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.3892, allocations: 0 / 486.5 MB, free: 23.05 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001419/0.3906, allocations: 1.123 MB / 487.6 MB, free: 22.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3906, allocations: 9.219 kB / 487.6 MB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.3937, allocations: 0.5614 MB / 488.2 MB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008001/0.3945, allocations: 0.5475 MB / 488.7 MB, free: 21.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.3946, allocations: 52.09 kB / 488.8 MB, free: 21.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.688e-05/0.3947, allocations: 61.44 kB / 488.8 MB, free: 21.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.3966, allocations: 1.096 MB / 489.9 MB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.3966, allocations: 6.75 kB / 489.9 MB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.3967, allocations: 30.59 kB / 490 MB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/0.3967, allocations: 17.53 kB / 490 MB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.3992, allocations: 1.003 MB / 491 MB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/0.4043, allocations: 4.977 MB / 495.9 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.4066, allocations: 0.7809 MB / 496.7 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/0.4072, allocations: 0.82 MB / 497.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.4086, allocations: 0.6679 MB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.745e-06/0.4086, allocations: 0 / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.004262/0.4129, allocations: 1.802 MB / 0.4883 GB, free: 14.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.413, allocations: 352.9 kB / 0.4886 GB, free: 14.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000924/0.414, allocations: 0.7414 MB / 0.4894 GB, free: 13.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.414, allocations: 38.28 kB / 0.4894 GB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.4143, allocations: 437.7 kB / 0.4898 GB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.4145, allocations: 139.2 kB / 0.4899 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.4145, allocations: 16.47 kB / 0.49 GB, free: 13.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.4146, allocations: 337.8 kB / 0.4903 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.4159, allocations: 456.8 kB / 0.4907 GB, free: 13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.4173, allocations: 0.7147 MB / 0.4914 GB, free: 12.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.4186, allocations: 0.5643 MB / 0.492 GB, free: 12.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4187, allocations: 1.188 kB / 0.492 GB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003203/0.4219, allocations: 1.403 MB / 0.4933 GB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.422, allocations: 103.3 kB / 0.4934 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.422, allocations: 7.453 kB / 0.4934 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/0.422, allocations: 12.91 kB / 0.4935 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.4231, allocations: 226.4 kB / 0.4937 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.4231, allocations: 15.67 kB / 0.4937 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.4243, allocations: 200.4 kB / 0.4939 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-05/0.4244, allocations: 44.84 kB / 0.4939 GB, free: 11.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004356/0.4249, allocations: 357.8 kB / 0.4943 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.425, allocations: 90.78 kB / 0.4944 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.429, allocations: 1.707 MB / 0.496 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.429, allocations: 7.359 kB / 0.496 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.429, allocations: 0 / 0.496 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.429, allocations: 2.25 kB / 0.496 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.4302, allocations: 0.7749 MB / 0.4968 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.4302, allocations: 0 / 0.4968 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.431, allocations: 144.6 kB / 0.4969 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.431, allocations: 1.375 kB / 0.4969 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/0.4311, allocations: 33.41 kB / 0.497 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.4311, allocations: 3.719 kB / 0.497 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4311, allocations: 0 / 0.497 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/0.4341, allocations: 1.331 MB / 0.4983 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.4344, allocations: 187.3 kB / 0.4984 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.4345, allocations: 18.33 kB / 0.4985 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000917/0.4355, allocations: 126.5 kB / 0.4986 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.4356, allocations: 33.81 kB / 0.4986 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/0.4356, allocations: 26.44 kB / 0.4986 GB, free: 9.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007369/0.4364, allocations: 0.5791 MB / 0.4992 GB, free: 9.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4364, allocations: 1.219 kB / 0.4992 GB, free: 9.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001194/0.4376, allocations: 341.4 kB / 0.4995 GB, free: 9.348 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008228/0.4384, allocations: 331.9 kB / 0.4998 GB, free: 9.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003106/0.4415, allocations: 1.309 MB / 0.5011 GB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4416, allocations: 1.188 kB / 0.5011 GB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.443, allocations: 0.7549 MB / 0.5019 GB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.4445, allocations: 296 kB / 0.5021 GB, free: 8.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.4481, allocations: 1.888 MB / 0.504 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.4487, allocations: 1.007 MB / 0.505 GB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008016/0.4495, allocations: 187.3 kB / 0.5051 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.4497, allocations: 79.56 kB / 0.5052 GB, free: 6.52 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4497, allocations: 0 / 0.5052 GB, free: 6.52 MB / 382.1 MB Notification: Performance of Templates: time 0.02687/0.4766, allocations: 15.97 MB / 0.5208 GB, free: 10.48 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe 2>&1) Environment - environmentSimulation: