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.001258/0.001258, allocations: 104.9 kB / 16.4 MB, free: 6.469 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.001297/0.001297, allocations: 195.8 kB / 17.34 MB, free: 5.75 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6997/0.6997, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.86 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1568, allocations: 76.17 MB / 0.6316 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5469/0.7038, allocations: 171.1 MB / 0.7986 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005877/0.7097, allocations: 4.298 MB / 0.8028 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007736/0.7105, allocations: 24.09 kB / 0.8028 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009913/0.7115, allocations: 351.5 kB / 0.8032 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.7144, allocations: 1.223 MB / 0.8044 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.7161, allocations: 0.7855 MB / 0.8051 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.7178, allocations: 1.698 MB / 0.8068 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006204/0.7184, allocations: 0.5633 MB / 0.8073 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.7193, allocations: 0.6952 MB / 0.808 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009135/0.7202, allocations: 0.5476 MB / 0.8085 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.375e-05/0.7203, allocations: 63.12 kB / 0.8086 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.7217, allocations: 0.8023 MB / 0.8094 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.722, allocations: 269.9 kB / 0.8096 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004075/0.7224, allocations: 406.7 kB / 0.81 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.7241, allocations: 1.277 MB / 0.8113 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7241, allocations: 0 / 0.8113 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7241, allocations: 3.938 kB / 0.8113 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.7242, allocations: 0 / 0.8113 GB, free: 9.902 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001972/0.7261, allocations: 1.03 MB / 0.8123 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.7262, allocations: 10.22 kB / 0.8123 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.7263, allocations: 100.3 kB / 0.8124 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009586/0.7273, allocations: 163 kB / 0.8125 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000744/0.7281, allocations: 0.5473 MB / 0.8131 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.7281, allocations: 38.53 kB / 0.8131 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.7282, allocations: 52.5 kB / 0.8132 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009859/0.7292, allocations: 0.6485 MB / 0.8138 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.7292, allocations: 0 / 0.8138 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.7293, allocations: 24.81 kB / 0.8138 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.7293, allocations: 25.5 kB / 0.8139 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009318/0.7302, allocations: 0.5136 MB / 0.8144 GB, free: 8.184 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.003132/0.7334, allocations: 2.299 MB / 0.8166 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.7339, allocations: 253.7 kB / 0.8168 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.7341, allocations: 136.9 kB / 0.817 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.7341, allocations: 10.02 kB / 0.817 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.7342, allocations: 37.09 kB / 0.817 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.7342, allocations: 0 / 0.817 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.001544/0.7357, allocations: 0.6713 MB / 0.8177 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.7358, allocations: 79.33 kB / 0.8177 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.7364, allocations: 0.559 MB / 0.8183 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.7364, allocations: 31.77 kB / 0.8183 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.7367, allocations: 331.6 kB / 0.8186 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.7368, allocations: 74.55 kB / 0.8187 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.7369, allocations: 74.31 kB / 0.8188 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.737, allocations: 363.1 kB / 0.8191 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.7373, allocations: 129.4 kB / 0.8193 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.7376, allocations: 223.5 kB / 0.8195 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.738, allocations: 324.4 kB / 0.8198 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.738, allocations: 2.094 kB / 0.8198 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008029/0.7389, allocations: 497 kB / 0.8202 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.7389, allocations: 5.375 kB / 0.8203 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7389, allocations: 2.438 kB / 0.8203 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.7392, allocations: 101.8 kB / 0.8204 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.7395, allocations: 71.31 kB / 0.8204 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.7425, allocations: 3.341 MB / 0.8237 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.743, allocations: 54.64 kB / 0.8237 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.743, allocations: 13.88 kB / 0.8237 GB, free: 340 kB / 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 (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.0002374/0.7433, allocations: 215.2 kB / 0.824 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.7434, allocations: 57.38 kB / 0.824 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.799e-05/0.7435, allocations: 58.03 kB / 0.8241 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.7435, allocations: 2.812 kB / 0.8241 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7435, allocations: 7.938 kB / 0.8241 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006962/0.7442, allocations: 0.5354 MB / 0.8246 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.7454, allocations: 0.9154 MB / 0.8255 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7454, allocations: 0 / 0.8255 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.7456, allocations: 44.5 kB / 0.8255 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.7458, allocations: 65.22 kB / 0.8256 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.7458, allocations: 10.88 kB / 0.8256 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.7473, allocations: 1.815 MB / 0.8274 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7474, allocations: 6.672 kB / 0.8274 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.748, allocations: 440.6 kB / 0.8278 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.7482, allocations: 167 kB / 0.828 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.7483, allocations: 14.56 kB / 0.828 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.7487, allocations: 16.27 kB / 0.828 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.7488, allocations: 21.5 kB / 0.828 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.7488, allocations: 10.19 kB / 0.828 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004023/0.7492, allocations: 409.5 kB / 0.8284 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7492, allocations: 0 / 0.8284 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005934/0.7498, allocations: 204.9 kB / 0.8286 GB, free: 12.39 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 (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.001086/0.7509, allocations: 1.028 MB / 0.8296 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008099/0.7517, allocations: 0.5221 MB / 0.8301 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.7518, allocations: 10.88 kB / 0.8301 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.7521, allocations: 256.3 kB / 0.8304 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.7536, allocations: 372.5 kB / 0.8307 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/0.7593, allocations: 4.445 MB / 0.8351 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.7598, allocations: 0.9091 MB / 0.836 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004105/0.7602, allocations: 116.5 kB / 0.8361 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.7605, allocations: 194.2 kB / 0.8363 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.7605, allocations: 0 / 0.8363 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0439/0.8044, allocations: 18.07 MB / 0.8539 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.4, allocations: 16.58 kB / 0.8539 GB, free: 7.078 MB / 0.6231 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)