Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.004976/0.004976, allocations: 101.8 kB / 15.88 MB, free: 6.312 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.001342/0.001342, allocations: 195.4 kB / 16.79 MB, free: 6.242 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.211/1.211, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6216/0.6216, allocations: 115.3 MB / 405.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 64.59 kB / 493 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1232, allocations: 76.18 MB / 0.5558 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.3694/0.4926, allocations: 168.8 MB / 0.7207 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005671/0.4983, allocations: 4.358 MB / 0.7249 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006425/0.4989, allocations: 19.88 kB / 0.7249 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009627/0.5, allocations: 306.5 kB / 0.7252 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.5024, allocations: 1.14 MB / 0.7264 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.5042, allocations: 0.7268 MB / 0.7271 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00221/0.5064, allocations: 2.366 MB / 0.7294 GB, free: 5.277 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006906/0.5071, allocations: 487 kB / 0.7298 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.5082, allocations: 0.5951 MB / 0.7304 GB, free: 4.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.5094, allocations: 0.5793 MB / 0.731 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.5096, allocations: 32 kB / 0.731 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.511, allocations: 0.9157 MB / 0.7319 GB, free: 2.684 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.5113, allocations: 235.3 kB / 0.7321 GB, free: 2.453 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005082/0.5119, allocations: 370.3 kB / 0.7325 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.5133, allocations: 1.285 MB / 0.7337 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5133, allocations: 0 / 0.7337 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5133, allocations: 0 / 0.7337 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.231e-05/0.5134, allocations: 0 / 0.7337 GB, free: 0.8008 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001834/0.5152, allocations: 1.037 MB / 0.7348 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.5152, allocations: 12.03 kB / 0.7348 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.5154, allocations: 98.52 kB / 0.7349 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.5164, allocations: 163 kB / 0.735 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/0.5171, allocations: 0.5248 MB / 0.7355 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.5172, allocations: 41.31 kB / 0.7356 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.5173, allocations: 48 kB / 0.7356 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5183, allocations: 0.6557 MB / 0.7363 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5183, allocations: 0 / 0.7363 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.5184, allocations: 24 kB / 0.7363 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.5184, allocations: 29.23 kB / 0.7363 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008894/0.5193, allocations: 0.5048 MB / 0.7368 GB, free: 13.55 MB / 0.5606 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.00296/0.5223, allocations: 2.309 MB / 0.739 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.5228, allocations: 256.7 kB / 0.7393 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.523, allocations: 136.8 kB / 0.7394 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.5231, allocations: 7.938 kB / 0.7394 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.5231, allocations: 46.48 kB / 0.7395 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.5231, allocations: 0 / 0.7395 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.001534/0.5246, allocations: 0.6688 MB / 0.7401 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.5247, allocations: 81.11 kB / 0.7402 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.5253, allocations: 0.5497 MB / 0.7407 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.5253, allocations: 29.7 kB / 0.7408 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.5255, allocations: 343 kB / 0.7411 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.5256, allocations: 63.09 kB / 0.7412 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.5257, allocations: 73.94 kB / 0.7412 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5258, allocations: 366.7 kB / 0.7416 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.5261, allocations: 132.6 kB / 0.7417 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.5263, allocations: 219.2 kB / 0.7419 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.5268, allocations: 324.4 kB / 0.7422 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5268, allocations: 0 / 0.7422 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008375/0.5277, allocations: 0.4983 MB / 0.7427 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5277, allocations: 8 kB / 0.7427 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.5277, allocations: 0 / 0.7427 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.528, allocations: 101.9 kB / 0.7428 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.5283, allocations: 63.91 kB / 0.7429 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.5309, allocations: 3.113 MB / 0.7459 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.5313, allocations: 59.45 kB / 0.746 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.5314, allocations: 12 kB / 0.746 GB, free: 3.5 MB / 0.5606 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.5316, allocations: 221.7 kB / 0.7462 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.5317, allocations: 59.34 kB / 0.7463 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.159e-05/0.5318, allocations: 52.52 kB / 0.7463 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5318, allocations: 3.984 kB / 0.7463 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5318, allocations: 4 kB / 0.7463 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006639/0.5325, allocations: 0.5306 MB / 0.7468 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.5336, allocations: 0.9168 MB / 0.7477 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5336, allocations: 4 kB / 0.7477 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.5338, allocations: 39.92 kB / 0.7478 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/0.534, allocations: 68.86 kB / 0.7478 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.5341, allocations: 7.938 kB / 0.7478 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.5355, allocations: 1.68 MB / 0.7495 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5355, allocations: 0 / 0.7495 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.5361, allocations: 443.3 kB / 0.7499 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.5363, allocations: 168.3 kB / 0.7501 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-05/0.5363, allocations: 11.98 kB / 0.7501 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.5368, allocations: 23.98 kB / 0.7501 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.5368, allocations: 23.91 kB / 0.7501 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.5369, allocations: 19.92 kB / 0.7501 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003892/0.5373, allocations: 398.8 kB / 0.7505 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5373, allocations: 0 / 0.7505 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005944/0.5379, allocations: 211.6 kB / 0.7507 GB, free: 14.32 MB / 0.5762 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/0.5389, allocations: 1.033 MB / 0.7517 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007825/0.5397, allocations: 0.5249 MB / 0.7522 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5397, allocations: 0 / 0.7522 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.5401, allocations: 254.5 kB / 0.7525 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.5416, allocations: 366.7 kB / 0.7528 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005588/0.5472, allocations: 4.728 MB / 0.7575 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.5476, allocations: 0.9095 MB / 0.7583 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004259/0.548, allocations: 113.7 kB / 0.7584 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.5483, allocations: 191.4 kB / 0.7586 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.5483, allocations: 0 / 0.7586 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.5784, allocations: 16.86 MB / 0.7751 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/0.5787, allocations: 289.6 kB / 0.7754 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.468, allocations: 3.938 kB / 0.7754 GB, free: 5.109 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)