Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001289/0.001289, allocations: 123.6 kB / 18.45 MB, free: 4.59 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.001403/0.001403, allocations: 209.7 kB / 21.41 MB, free: 1.641 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.462/1.462, allocations: 227.4 MB / 251.7 MB, free: 68 kB / 190.1 MB " [Timeout remaining time 178] 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.2274/0.2274, allocations: 46.16 MB / 351.1 MB, free: 14.32 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.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",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.002233/0.002233, allocations: 78.02 kB / 489.7 MB, free: 28.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.111, allocations: 62.44 MB / 0.5392 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002226/0.1133, allocations: 1.208 MB / 0.5404 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000683/0.114, allocations: 343.5 kB / 0.5407 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.189e-05/0.114, allocations: 0 / 0.5407 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.855e-05/0.1141, allocations: 0 / 0.5407 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.362e-05/0.1141, allocations: 0 / 0.5407 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.1145, allocations: 59.81 kB / 0.5407 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.808e-05/0.1146, allocations: 7.984 kB / 0.5407 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.1146, allocations: 0 / 0.5407 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.365e-05/0.1146, allocations: 0 / 0.5407 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1148, allocations: 40.23 kB / 0.5408 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.1148, allocations: 0 / 0.5408 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-06/0.1149, allocations: 0 / 0.5408 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.1149, allocations: 4 kB / 0.5408 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.1149, allocations: 3.938 kB / 0.5408 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 4.489e-05/0.1149, allocations: 11.88 kB / 0.5408 GB, free: 3.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.115, allocations: 4 kB / 0.5408 GB, free: 3.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.115, allocations: 0 / 0.5408 GB, free: 3.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.115, allocations: 0 / 0.5408 GB, free: 3.105 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003105/0.1153, allocations: 311.6 kB / 0.5411 GB, free: 2.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1153, allocations: 15.97 kB / 0.5411 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.1154, allocations: 30.75 kB / 0.5411 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.79e-05/0.1154, allocations: 0.9375 kB / 0.5411 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1155, allocations: 164.4 kB / 0.5413 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1155, allocations: 4.375 kB / 0.5413 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.1155, allocations: 384 / 0.5413 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.1156, allocations: 34.27 kB / 0.5413 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1156, allocations: 3.938 kB / 0.5413 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.1157, allocations: 0 / 0.5413 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1157, allocations: 7.969 kB / 0.5414 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.1157, allocations: 7.938 kB / 0.5414 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.116, allocations: 375.5 kB / 0.5417 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1161, allocations: 173.1 kB / 0.5419 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.1162, allocations: 80.14 kB / 0.542 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.1162, allocations: 75.28 kB / 0.542 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.1163, allocations: 109.8 kB / 0.5421 GB, free: 1.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 5.951e-06/0.1163, allocations: 4 kB / 0.5421 GB, free: 1.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.826e-05/0.1164, allocations: 33.59 kB / 0.5422 GB, free: 1.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.1164, allocations: 126.7 kB / 0.5423 GB, free: 1.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.1165, allocations: 97.86 kB / 0.5424 GB, free: 1.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1165, allocations: 25.7 kB / 0.5424 GB, free: 1.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.1166, allocations: 80.14 kB / 0.5425 GB, free: 1.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.1166, allocations: 0 / 0.5425 GB, free: 1.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.1166, allocations: 17.66 kB / 0.5425 GB, free: 1.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1168, allocations: 319 kB / 0.5428 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/0.1168, allocations: 0 / 0.5428 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.968e-06/0.1168, allocations: 0 / 0.5428 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.1168, allocations: 16.8 kB / 0.5428 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1168, allocations: 3.938 kB / 0.5428 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.913e-05/0.1169, allocations: 29.7 kB / 0.5429 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1169, allocations: 4 kB / 0.5429 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.1169, allocations: 0 / 0.5429 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1169, allocations: 8.094 kB / 0.5429 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.012e-05/0.117, allocations: 0 / 0.5429 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.117, allocations: 0 / 0.5429 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.978e-06/0.117, allocations: 0 / 0.5429 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.117, allocations: 0 / 0.5429 GB, free: 0.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * Array equations: 0 * 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 0.0001051/0.1171, allocations: 193 kB / 0.5431 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.1172, allocations: 104.9 kB / 0.5432 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.1173, allocations: 111.9 kB / 0.5433 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-05/0.1174, allocations: 180.3 kB / 0.5434 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.169e-05/0.1175, allocations: 184.2 kB / 0.5436 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.916e-05/0.1175, allocations: 192.2 kB / 0.5438 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.1178, allocations: 401.1 kB / 0.5442 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.324e-05/0.1179, allocations: 105 kB / 0.5443 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.1179, allocations: 109 kB / 0.5444 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.553e-05/0.118, allocations: 184.2 kB / 0.5446 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/0.1181, allocations: 176.3 kB / 0.5447 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.405e-05/0.1182, allocations: 184.2 kB / 0.5449 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7e-05/0.1182, allocations: 176.5 kB / 0.5451 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1184, allocations: 319.7 kB / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.1185, allocations: 178.1 kB / 0.5455 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.019e-05/0.1186, allocations: 180.2 kB / 0.5457 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.1187, allocations: 105 kB / 0.5458 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.1187, allocations: 188.2 kB / 0.546 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.1188, allocations: 105 kB / 0.5461 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.826e-05/0.1188, allocations: 75.28 kB / 0.5462 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1188, allocations: 0 / 0.5462 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002071/0.1191, allocations: 4 kB / 0.5462 GB, free: 13.15 MB / 414.1 MB 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0004225/0.1195, allocations: 0.8165 MB / 0.547 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.218e-05/0.1196, allocations: 4 kB / 0.547 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1196, allocations: 0 / 0.547 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.1196, allocations: 0 / 0.547 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1199, allocations: 451.7 kB / 0.5474 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.1203, allocations: 186.6 kB / 0.5476 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1206, allocations: 0.6768 MB / 0.5482 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.1206, allocations: 0 / 0.5482 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.1206, allocations: 11.38 kB / 0.5482 GB, free: 10.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1206, allocations: 0 / 0.5482 GB, free: 10.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.1412, allocations: 0.9179 MB / 0.5491 GB, free: 10.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.092, allocations: 1.078 kB / 0.5491 GB, free: 10.12 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.939777683932334] Failed to read output from testmodel.py, exit status != 0: 8.15790754603222 8.180836283 8.061904421 Calling exit ...