Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_InertMass.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/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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: "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_InertMass,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Buildings_test_InertMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_InertMass,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Buildings_test_InertMass",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.01115/0.01115, allocations: 102 kB / 15.73 MB, free: 5.551 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.001829/0.001829, allocations: 196.2 kB / 16.67 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 222.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07212/0.07212, allocations: 10.97 MB / 280.9 MB, free: 1.008 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02255/0.02255, allocations: 4.247 MB / 334.6 MB, free: 11.14 MB / 286.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: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 74.23 kB / 447.1 MB, free: 33.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09516, allocations: 49.75 MB / 496.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_InertMass): time 0.4109/0.5061, allocations: 185.1 MB / 0.666 GB, free: 9.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003152/0.5093, allocations: 2.142 MB / 0.6681 GB, free: 7.516 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.5095, allocations: 4 kB / 0.6681 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006749/0.5102, allocations: 194.8 kB / 0.6682 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.5106, allocations: 214.7 kB / 0.6684 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004533/0.5151, allocations: 1.693 MB / 0.6701 GB, free: 5.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007888/0.5159, allocations: 0.5764 MB / 0.6707 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.5164, allocations: 293.5 kB / 0.6709 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.5168, allocations: 266.9 kB / 0.6712 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.5172, allocations: 275 kB / 0.6715 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.5172, allocations: 44 kB / 0.6715 GB, free: 3.969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004861/0.5221, allocations: 2.652 MB / 0.6741 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.5223, allocations: 151.5 kB / 0.6742 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.5226, allocations: 219.1 kB / 0.6744 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.526, allocations: 1.599 MB / 0.676 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.526, allocations: 3.938 kB / 0.676 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.526, allocations: 4 kB / 0.676 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.526, allocations: 0 / 0.676 GB, free: 15.34 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.002887/0.5289, allocations: 1.015 MB / 0.677 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.529, allocations: 12.03 kB / 0.677 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.179e-05/0.5291, allocations: 74.72 kB / 0.6771 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.5293, allocations: 48.69 kB / 0.6771 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.5298, allocations: 323.1 kB / 0.6774 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.5298, allocations: 25 kB / 0.6775 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.5299, allocations: 36 kB / 0.6775 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008472/0.5308, allocations: 0.51 MB / 0.678 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.5308, allocations: 3.953 kB / 0.678 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.5308, allocations: 16 kB / 0.678 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.5309, allocations: 16.66 kB / 0.678 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008831/0.5318, allocations: 0.5374 MB / 0.6786 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/0.5348, allocations: 2.073 MB / 0.6806 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000788/0.5356, allocations: 463.5 kB / 0.681 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.536, allocations: 200.8 kB / 0.6812 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001641/0.5376, allocations: 1.145 MB / 0.6823 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.5377, allocations: 42.5 kB / 0.6824 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.5377, allocations: 0 / 0.6824 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30): time 0.001119/0.5388, allocations: 0.5198 MB / 0.6829 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.5389, allocations: 67.33 kB / 0.6829 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.5393, allocations: 310.9 kB / 0.6832 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.5393, allocations: 37.7 kB / 0.6833 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.5395, allocations: 204.4 kB / 0.6835 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5396, allocations: 115 kB / 0.6836 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.5398, allocations: 90 kB / 0.6837 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.5399, allocations: 338.8 kB / 0.684 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.5402, allocations: 140.8 kB / 0.6841 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.5406, allocations: 268.6 kB / 0.6844 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.5412, allocations: 436.8 kB / 0.6848 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5412, allocations: 4 kB / 0.6848 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008814/0.5421, allocations: 491.2 kB / 0.6853 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5421, allocations: 8.531 kB / 0.6853 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.5422, allocations: 8 kB / 0.6853 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007365/0.5429, allocations: 64.81 kB / 0.6854 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.5433, allocations: 95.77 kB / 0.6854 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004435/0.5438, allocations: 0.5563 MB / 0.686 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.5441, allocations: 43.62 kB / 0.686 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.5441, allocations: 23.98 kB / 0.6861 GB, free: 4.375 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (48): * Single equations (assignments): 47 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.5444, allocations: 173.8 kB / 0.6862 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.5445, allocations: 31.75 kB / 0.6862 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000803/0.5453, allocations: 400.7 kB / 0.6866 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5453, allocations: 4 kB / 0.6866 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5453, allocations: 0 / 0.6866 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5453, allocations: 3.984 kB / 0.6866 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/0.5459, allocations: 441.2 kB / 0.6871 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5459, allocations: 0 / 0.6871 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.5462, allocations: 55.91 kB / 0.6871 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006558/0.5469, allocations: 68.8 kB / 0.6872 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.5469, allocations: 8.047 kB / 0.6872 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003611/0.5473, allocations: 0.549 MB / 0.6877 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5473, allocations: 0 / 0.6877 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009392/0.5482, allocations: 0.5906 MB / 0.6883 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.5484, allocations: 148.8 kB / 0.6884 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.369e-05/0.5485, allocations: 8.5 kB / 0.6884 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.5487, allocations: 11.92 kB / 0.6885 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.5487, allocations: 19.92 kB / 0.6885 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.5488, allocations: 16.92 kB / 0.6885 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002635/0.549, allocations: 225.9 kB / 0.6887 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.549, allocations: 3.938 kB / 0.6887 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007557/0.5498, allocations: 263.2 kB / 0.689 GB, free: 1.258 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertMass.convection.E,inertMass.carrollRadiation.E,inertMass.heatCapacitor.T,inertMass.heatCapacitor.E) * 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 (30): * Single equations (assignments): 29 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1879/0.7377, allocations: 1.367 MB / 0.6903 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.7388, allocations: 364.3 kB / 0.6906 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7388, allocations: 1.375 kB / 0.6906 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.7391, allocations: 157.5 kB / 0.6908 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7401, allocations: 129.2 kB / 0.6909 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/0.7456, allocations: 3.953 MB / 0.6948 GB, free: 175.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.746, allocations: 0.7996 MB / 0.6956 GB, free: 174.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003485/0.7463, allocations: 83.52 kB / 0.6956 GB, free: 174.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.7465, allocations: 113.3 kB / 0.6957 GB, free: 174.8 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.7465, allocations: 0 / 0.6957 GB, free: 174.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/0.7933, allocations: 12.41 MB / 0.7079 GB, free: 172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.42, allocations: 17.33 kB / 0.7079 GB, free: 172 MB / 0.4981 GB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_InertMass.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_InertMass.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_InertMass.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_InertMass.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_InertMass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Buildings_test_InertMass.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_InertMass.pipe 2>&1)