Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 109.7 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 218.4 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 230.2 MB / 256.2 MB, free: 8.594 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2023/0.2023, allocations: 46.89 MB / 359.3 MB, free: 4.953 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 79.86 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2694, allocations: 65.98 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1691/0.4385, allocations: 154.4 MB / 0.7092 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.4405, allocations: 1.472 MB / 0.7106 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.4405, allocations: 0 / 0.7106 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.4408, allocations: 43.8 kB / 0.7106 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.4434, allocations: 1.083 MB / 0.7117 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.95e-06/0.4434, allocations: 0 / 0.7117 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.4435, allocations: 67.66 kB / 0.7118 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.4436, allocations: 0 / 0.7118 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.4436, allocations: 31.84 kB / 0.7118 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.4437, allocations: 35.84 kB / 0.7118 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.975e-06/0.4437, allocations: 0 / 0.7118 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.4469, allocations: 1.922 MB / 0.7137 GB, free: 5.551 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.447, allocations: 19.91 kB / 0.7137 GB, free: 5.531 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.447, allocations: 19.88 kB / 0.7137 GB, free: 5.512 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.4489, allocations: 0.9235 MB / 0.7147 GB, free: 4.586 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4489, allocations: 4 kB / 0.7147 GB, free: 4.582 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4489, allocations: 0 / 0.7147 GB, free: 4.582 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4489, allocations: 0 / 0.7147 GB, free: 4.582 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008796/0.4498, allocations: 0.5132 MB / 0.7152 GB, free: 4.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4498, allocations: 11.97 kB / 0.7152 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.4499, allocations: 38.73 kB / 0.7152 GB, free: 3.961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.4499, allocations: 8.891 kB / 0.7152 GB, free: 3.953 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.4501, allocations: 171.4 kB / 0.7154 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4501, allocations: 0 / 0.7154 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.4501, allocations: 12 kB / 0.7154 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.4502, allocations: 77.61 kB / 0.7155 GB, free: 3.652 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4503, allocations: 4 kB / 0.7155 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.4503, allocations: 0 / 0.7155 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.4503, allocations: 11.98 kB / 0.7155 GB, free: 3.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.4504, allocations: 59.97 kB / 0.7155 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.4509, allocations: 316.7 kB / 0.7158 GB, free: 3.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.135e-05/0.4509, allocations: 42.5 kB / 0.7159 GB, free: 3.168 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.451, allocations: 20.97 kB / 0.7159 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.4512, allocations: 255.2 kB / 0.7161 GB, free: 2.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.4512, allocations: 38.55 kB / 0.7162 GB, free: 2.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.4512, allocations: 0 / 0.7162 GB, free: 2.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.000185/0.4514, allocations: 65.69 kB / 0.7162 GB, free: 2.723 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.4515, allocations: 51.41 kB / 0.7163 GB, free: 2.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.4515, allocations: 109.8 kB / 0.7164 GB, free: 2.543 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.4516, allocations: 29.7 kB / 0.7164 GB, free: 2.508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.4516, allocations: 92.05 kB / 0.7165 GB, free: 2.414 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.4516, allocations: 23.92 kB / 0.7165 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.4517, allocations: 29.61 kB / 0.7166 GB, free: 2.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4518, allocations: 318.8 kB / 0.7169 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.4518, allocations: 8 kB / 0.7169 GB, free: 2.027 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-05/0.4519, allocations: 39.92 kB / 0.7169 GB, free: 1.977 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.563e-05/0.452, allocations: 63.36 kB / 0.717 GB, free: 1.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.452, allocations: 0 / 0.717 GB, free: 1.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001265/0.4521, allocations: 77.56 kB / 0.717 GB, free: 1.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4521, allocations: 4 kB / 0.717 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4521, allocations: 12.08 kB / 0.7171 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4521, allocations: 0 / 0.7171 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.4522, allocations: 15.94 kB / 0.7171 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.4522, allocations: 3.938 kB / 0.7171 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.4522, allocations: 8 kB / 0.7171 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.4522, allocations: 4 kB / 0.7171 GB, free: 1.773 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.057e-05/0.4523, allocations: 117.8 kB / 0.7172 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.4524, allocations: 7.891 kB / 0.7172 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.4525, allocations: 77.23 kB / 0.7173 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.4525, allocations: 7.922 kB / 0.7173 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4526, allocations: 0 / 0.7173 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4526, allocations: 0 / 0.7173 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.4527, allocations: 165.7 kB / 0.7174 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4527, allocations: 3.938 kB / 0.7175 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.4528, allocations: 11.98 kB / 0.7175 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4528, allocations: 0 / 0.7175 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.4528, allocations: 4 kB / 0.7175 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4528, allocations: 0 / 0.7175 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4528, allocations: 0 / 0.7175 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.453, allocations: 167.6 kB / 0.7176 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.453, allocations: 81.05 kB / 0.7177 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.453, allocations: 3.984 kB / 0.7177 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.4531, allocations: 0 / 0.7177 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.4531, allocations: 4 kB / 0.7177 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.4531, allocations: 8 kB / 0.7177 GB, free: 1.027 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.638e-05/0.4531, allocations: 91.2 kB / 0.7178 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4531, allocations: 0 / 0.7178 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005245/0.4537, allocations: 147.5 kB / 0.7179 GB, free: 0.793 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/0.4549, allocations: 0.9323 MB / 0.7189 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.4551, allocations: 39.92 kB / 0.7189 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4551, allocations: 0 / 0.7189 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.729e-05/0.4551, allocations: 8 kB / 0.7189 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.4554, allocations: 21.91 kB / 0.7189 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.456, allocations: 269.2 kB / 0.7192 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.4563, allocations: 0.6885 MB / 0.7199 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.561e-05/0.4564, allocations: 16.14 kB / 0.7199 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.4564, allocations: 19.42 kB / 0.7199 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.4564, allocations: 0 / 0.7199 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.4826, allocations: 5.013 MB / 0.7248 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.519, allocations: 4.922 kB / 0.7248 GB, free: 9.766 MB / 0.5606 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.218270125988056]