Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001279/0.001279, allocations: 172.7 kB / 15.95 MB, free: 208 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.862/1.862, allocations: 205.4 MB / 222.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6547/0.6547, allocations: 95.64 MB / 366 MB, free: 10.38 MB / 302.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: Buildings requested package Modelica of version 3.2.1. 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.0005799/0.00058, allocations: 12 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.449, allocations: 70.34 MB / 0.5051 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction): time 0.001428/0.4505, allocations: 0.9713 MB / 0.506 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009723/0.4515, allocations: 0.6119 MB / 0.5066 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.4516, allocations: 4 kB / 0.5066 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.4516, allocations: 0 / 0.5066 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.858e-05/0.4516, allocations: 0 / 0.5066 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.4521, allocations: 171.4 kB / 0.5068 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.961e-05/0.4522, allocations: 19.92 kB / 0.5068 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.4523, allocations: 4 kB / 0.5068 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.4523, allocations: 4 kB / 0.5068 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.4524, allocations: 15.92 kB / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.4524, allocations: 4 kB / 0.5068 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.4527, allocations: 259.6 kB / 0.5071 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.4527, allocations: 3.984 kB / 0.5071 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.4528, allocations: 29.7 kB / 0.5071 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.453, allocations: 133.7 kB / 0.5072 GB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.453, allocations: 4 kB / 0.5072 GB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.453, allocations: 0 / 0.5072 GB, free: 14.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.453, allocations: 4 kB / 0.5072 GB, free: 14.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004558/0.4535, allocations: 371.2 kB / 0.5076 GB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4535, allocations: 15.98 kB / 0.5076 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.4536, allocations: 0 / 0.5076 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.4537, allocations: 167 kB / 0.5078 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4537, allocations: 0 / 0.5078 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.4537, allocations: 4 kB / 0.5078 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.4541, allocations: 57.61 kB / 0.5078 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4541, allocations: 4 kB / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4541, allocations: 0 / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.4541, allocations: 0 / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.4543, allocations: 31.97 kB / 0.5079 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.4547, allocations: 260.8 kB / 0.5081 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.455, allocations: 54.61 kB / 0.5082 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.4551, allocations: 28.78 kB / 0.5082 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004623/0.4555, allocations: 396.3 kB / 0.5086 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.4556, allocations: 38.55 kB / 0.5086 GB, free: 12.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4556, allocations: 0 / 0.5086 GB, free: 12.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003869/0.456, allocations: 81.66 kB / 0.5087 GB, free: 12.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.456, allocations: 51.41 kB / 0.5087 GB, free: 12.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.4561, allocations: 97.86 kB / 0.5088 GB, free: 12.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4561, allocations: 29.7 kB / 0.5089 GB, free: 12.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.4561, allocations: 88.06 kB / 0.5089 GB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.4562, allocations: 11.81 kB / 0.5089 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.4562, allocations: 4 kB / 0.509 GB, free: 12.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4563, allocations: 318.7 kB / 0.5093 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.4563, allocations: 4 kB / 0.5093 GB, free: 11.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.4564, allocations: 25.7 kB / 0.5093 GB, free: 11.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.4564, allocations: 12 kB / 0.5093 GB, free: 11.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4564, allocations: 0 / 0.5093 GB, free: 11.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.613e-05/0.4565, allocations: 65.56 kB / 0.5094 GB, free: 11.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4565, allocations: 4 kB / 0.5094 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4565, allocations: 0 / 0.5094 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4566, allocations: 4 kB / 0.5094 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.4566, allocations: 7.984 kB / 0.5094 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4566, allocations: 7.938 kB / 0.5094 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.4567, allocations: 3.906 kB / 0.5094 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.4567, allocations: 4 kB / 0.5094 GB, free: 11.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 6.681e-05/0.4568, allocations: 113.8 kB / 0.5095 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.4568, allocations: 0 / 0.5095 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.457, allocations: 73.53 kB / 0.5096 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.457, allocations: 4.031 kB / 0.5096 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.457, allocations: 4 kB / 0.5096 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.457, allocations: 0 / 0.5096 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.4571, allocations: 165.8 kB / 0.5097 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4572, allocations: 0 / 0.5097 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.4572, allocations: 4 kB / 0.5097 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4572, allocations: 0 / 0.5097 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4572, allocations: 4 kB / 0.5097 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4572, allocations: 0 / 0.5097 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4572, allocations: 0 / 0.5097 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.4573, allocations: 155.5 kB / 0.5099 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.4574, allocations: 84.95 kB / 0.51 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.4574, allocations: 3.938 kB / 0.51 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.88e-05/0.4575, allocations: 4 kB / 0.51 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.4575, allocations: 4 kB / 0.51 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.4575, allocations: 4 kB / 0.51 GB, free: 11.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.426e-05/0.4575, allocations: 79.27 kB / 0.5101 GB, free: 10.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4575, allocations: 0 / 0.5101 GB, free: 10.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.4578, allocations: 56 kB / 0.5101 GB, free: 10.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002962/0.4581, allocations: 171.2 kB / 0.5103 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.4583, allocations: 19.98 kB / 0.5103 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4583, allocations: 0 / 0.5103 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/0.4583, allocations: 23.92 kB / 0.5103 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.4586, allocations: 0 / 0.5103 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.4589, allocations: 136.6 kB / 0.5104 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.4592, allocations: 0.677 MB / 0.5111 GB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.288e-05/0.4592, allocations: 8 kB / 0.5111 GB, free: 9.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.4592, allocations: 11.44 kB / 0.5111 GB, free: 9.805 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4593, allocations: 0 / 0.5111 GB, free: 9.805 MB / 382.1 MB Notification: Performance of Templates: time 0.003889/0.4631, allocations: 1.282 MB / 0.5124 GB, free: 8.527 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe 2>&1) Environment - environmentSimulation: