Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_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.001109/0.001109, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009214/0.009214, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.261/1.261, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 263.2 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9145/0.9145, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 18.72 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1459, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4472/0.5931, allocations: 166.6 MB / 0.8479 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00587/0.599, allocations: 4.308 MB / 0.8521 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.5994, allocations: 18.34 kB / 0.8521 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007934/0.6002, allocations: 303 kB / 0.8524 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.6025, allocations: 1.15 MB / 0.8535 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.604, allocations: 0.7313 MB / 0.8543 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.606, allocations: 2.36 MB / 0.8566 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005641/0.6066, allocations: 471.6 kB / 0.857 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007911/0.6074, allocations: 0.5725 MB / 0.8576 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009758/0.6083, allocations: 0.5524 MB / 0.8581 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.6084, allocations: 29 kB / 0.8581 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.6097, allocations: 0.9072 MB / 0.859 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.61, allocations: 232.3 kB / 0.8592 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.6103, allocations: 383.4 kB / 0.8596 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.6115, allocations: 1.266 MB / 0.8608 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6115, allocations: 0 / 0.8608 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6115, allocations: 0 / 0.8608 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.6115, allocations: 0 / 0.8608 GB, free: 7.328 MB / 0.5762 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.001437/0.613, allocations: 0.8967 MB / 0.8617 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.613, allocations: 12.72 kB / 0.8617 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.6132, allocations: 104.2 kB / 0.8618 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009575/0.6141, allocations: 158.2 kB / 0.862 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006728/0.6148, allocations: 0.5217 MB / 0.8625 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.6148, allocations: 37.16 kB / 0.8625 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.6149, allocations: 55.31 kB / 0.8626 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.616, allocations: 0.6525 MB / 0.8632 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.616, allocations: 7.875 kB / 0.8632 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.6161, allocations: 27.92 kB / 0.8633 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.6161, allocations: 25.36 kB / 0.8633 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009058/0.617, allocations: 0.5257 MB / 0.8638 GB, free: 5.293 MB / 0.5762 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.002997/0.62, allocations: 2.307 MB / 0.866 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.6205, allocations: 261.9 kB / 0.8663 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.6208, allocations: 141.9 kB / 0.8664 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.6208, allocations: 5.125 kB / 0.8664 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.6208, allocations: 37.41 kB / 0.8665 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.6208, allocations: 0 / 0.8665 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001572/0.6224, allocations: 0.6891 MB / 0.8671 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.6225, allocations: 83.95 kB / 0.8672 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.623, allocations: 0.5496 MB / 0.8678 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.6231, allocations: 32.27 kB / 0.8678 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.6233, allocations: 338.6 kB / 0.8681 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.6234, allocations: 70.34 kB / 0.8682 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.6234, allocations: 36.23 kB / 0.8682 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6236, allocations: 361.8 kB / 0.8686 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.6238, allocations: 139.7 kB / 0.8687 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.6241, allocations: 224.6 kB / 0.8689 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.6247, allocations: 343.6 kB / 0.8692 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6247, allocations: 0 / 0.8692 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008602/0.6255, allocations: 0.5088 MB / 0.8697 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.6256, allocations: 10 kB / 0.8697 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.6256, allocations: 2.625 kB / 0.8697 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/0.6259, allocations: 94.61 kB / 0.8698 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.6262, allocations: 71.12 kB / 0.8699 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.6289, allocations: 3.104 MB / 0.8729 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.6293, allocations: 72.27 kB / 0.873 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.6294, allocations: 8.188 kB / 0.873 GB, free: 13.63 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 (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.0002363/0.6296, allocations: 225.4 kB / 0.8732 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.6297, allocations: 55.25 kB / 0.8733 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.6298, allocations: 53.23 kB / 0.8733 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6298, allocations: 9.109 kB / 0.8733 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6298, allocations: 0 / 0.8733 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007385/0.6306, allocations: 0.5414 MB / 0.8739 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.6318, allocations: 0.9289 MB / 0.8748 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6318, allocations: 0 / 0.8748 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.632, allocations: 43.77 kB / 0.8748 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.6322, allocations: 73.02 kB / 0.8749 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.6322, allocations: 7.188 kB / 0.8749 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.6338, allocations: 1.692 MB / 0.8765 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6338, allocations: 3.5 kB / 0.8765 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.6344, allocations: 458.1 kB / 0.877 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.6346, allocations: 163.9 kB / 0.8771 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.6347, allocations: 5.766 kB / 0.8771 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.6351, allocations: 35.89 kB / 0.8772 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.6352, allocations: 27.84 kB / 0.8772 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.6353, allocations: 18.86 kB / 0.8772 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004035/0.6357, allocations: 396.2 kB / 0.8776 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6357, allocations: 0 / 0.8776 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006171/0.6363, allocations: 208 kB / 0.8778 GB, free: 9.613 MB / 0.5919 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.001276/0.6376, allocations: 1.027 MB / 0.8788 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008514/0.6384, allocations: 0.5522 MB / 0.8793 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6385, allocations: 4.312 kB / 0.8793 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.6389, allocations: 258.5 kB / 0.8796 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.6406, allocations: 357.5 kB / 0.8799 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/0.6467, allocations: 4.8 MB / 0.8846 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.6471, allocations: 0.9092 MB / 0.8855 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004372/0.6476, allocations: 112.8 kB / 0.8856 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.6478, allocations: 198.9 kB / 0.8858 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.6478, allocations: 0 / 0.8858 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8081/1.456, allocations: 16.72 MB / 0.9021 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/1.456, allocations: 301.8 kB / 0.9024 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.666, allocations: 0 / 0.9024 GB, free: 0.5039 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)