Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.001574/0.001574, allocations: 103.1 kB / 16.4 MB, free: 6.453 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.001835/0.001835, allocations: 195.9 kB / 17.34 MB, free: 5.715 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6917/0.6917, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 65.22 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1431, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5518/0.6949, allocations: 171 MB / 0.7985 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005819/0.7008, allocations: 4.289 MB / 0.8027 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007289/0.7016, allocations: 21.38 kB / 0.8027 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009588/0.7025, allocations: 349.6 kB / 0.8031 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.7048, allocations: 0.9982 MB / 0.804 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.7067, allocations: 0.812 MB / 0.8048 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001377/0.7081, allocations: 1.302 MB / 0.8061 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005701/0.7086, allocations: 478.1 kB / 0.8066 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.7098, allocations: 0.6901 MB / 0.8072 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008808/0.7106, allocations: 448.2 kB / 0.8077 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.003e-05/0.7107, allocations: 52.94 kB / 0.8077 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.7122, allocations: 0.9084 MB / 0.8086 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.7124, allocations: 214.8 kB / 0.8088 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002878/0.7127, allocations: 330 kB / 0.8091 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.714, allocations: 1.134 MB / 0.8102 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.714, allocations: 0 / 0.8102 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.714, allocations: 0 / 0.8102 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.714, allocations: 4 kB / 0.8102 GB, free: 10.21 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001521/0.7156, allocations: 0.953 MB / 0.8112 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.7156, allocations: 10.09 kB / 0.8112 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.937e-05/0.7157, allocations: 85.02 kB / 0.8113 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.7173, allocations: 266 kB / 0.8115 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007551/0.718, allocations: 0.498 MB / 0.812 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.7181, allocations: 32.88 kB / 0.812 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.7181, allocations: 35.38 kB / 0.8121 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.7192, allocations: 0.6181 MB / 0.8127 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.7192, allocations: 0 / 0.8127 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.7193, allocations: 19.03 kB / 0.8127 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.7193, allocations: 22.61 kB / 0.8127 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.7206, allocations: 0.5439 MB / 0.8132 GB, free: 8.676 MB / 0.5919 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.003547/0.7241, allocations: 2.263 MB / 0.8154 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/0.7249, allocations: 280.9 kB / 0.8157 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.7254, allocations: 166.3 kB / 0.8159 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.7254, allocations: 14.41 kB / 0.8159 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.7255, allocations: 36.34 kB / 0.8159 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.7255, allocations: 2.562 kB / 0.8159 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.004823/0.7303, allocations: 1.089 MB / 0.817 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.7304, allocations: 79.67 kB / 0.8171 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.7309, allocations: 0.5498 MB / 0.8176 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.731, allocations: 31.48 kB / 0.8176 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.7312, allocations: 300.9 kB / 0.8179 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.7312, allocations: 46.86 kB / 0.818 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.7314, allocations: 59.08 kB / 0.818 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7315, allocations: 356.4 kB / 0.8184 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.7321, allocations: 186.2 kB / 0.8185 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.7326, allocations: 272.1 kB / 0.8188 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009945/0.7337, allocations: 400.2 kB / 0.8192 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.7337, allocations: 0 / 0.8192 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002447/0.7361, allocations: 0.7356 MB / 0.8199 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.7361, allocations: 4.406 kB / 0.8199 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7362, allocations: 2.906 kB / 0.8199 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.7368, allocations: 181.5 kB / 0.8201 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.7371, allocations: 74 kB / 0.8201 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/0.7409, allocations: 2.241 MB / 0.8223 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/0.7415, allocations: 84.33 kB / 0.8224 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.7415, allocations: 10.83 kB / 0.8224 GB, free: 2.012 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002524/0.7418, allocations: 185.1 kB / 0.8226 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.7419, allocations: 49.16 kB / 0.8227 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.742, allocations: 53.28 kB / 0.8227 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.742, allocations: 6.406 kB / 0.8227 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.742, allocations: 3.938 kB / 0.8227 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.742, allocations: 0 / 0.8227 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.745, allocations: 1.124 MB / 0.8238 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.745, allocations: 1.812 kB / 0.8238 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.7452, allocations: 37.67 kB / 0.8238 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004902/0.7457, allocations: 183.1 kB / 0.824 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.7457, allocations: 7.219 kB / 0.824 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.7492, allocations: 2.19 MB / 0.8262 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.7492, allocations: 2.375 kB / 0.8262 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.7515, allocations: 0.7045 MB / 0.8269 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.7517, allocations: 163.8 kB / 0.827 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.831e-05/0.7518, allocations: 2.5 kB / 0.827 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/0.7524, allocations: 60.66 kB / 0.8271 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.7525, allocations: 9.266 kB / 0.8271 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.7525, allocations: 15.64 kB / 0.8271 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004511/0.753, allocations: 393.2 kB / 0.8275 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.753, allocations: 0 / 0.8275 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006376/0.7536, allocations: 187.7 kB / 0.8277 GB, free: 14.12 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00293/0.7566, allocations: 1.311 MB / 0.8289 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.7581, allocations: 0.5227 MB / 0.8294 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.778e-06/0.7581, allocations: 2.781 kB / 0.8294 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006442/0.7588, allocations: 303 kB / 0.8297 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.7601, allocations: 295.8 kB / 0.83 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.7714, allocations: 5.077 MB / 0.835 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.7719, allocations: 0.8625 MB / 0.8358 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004429/0.7724, allocations: 112.9 kB / 0.8359 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.7726, allocations: 160.5 kB / 0.8361 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of SimCode: time 6.52e-07/0.7726, allocations: 0 / 0.8361 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0441/0.8168, allocations: 17.17 MB / 0.8528 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.14, allocations: 10.14 kB / 0.8529 GB, free: 8.293 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)