Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitLinearize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 209.6 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 207.6 MB / 233 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009619/0.009619, allocations: 1.97 MB / 287.2 MB, free: 3.957 MB / 222.1 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 79.98 kB / 401.8 MB, free: 50.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07257/0.07468, allocations: 49.69 MB / 451.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003272/0.07796, allocations: 3.151 MB / 454.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.07916, allocations: 0.8109 MB / 455.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.07932, allocations: 7.938 kB / 455.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.07949, allocations: 47.5 kB / 455.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.07969, allocations: 127 kB / 455.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.07994, allocations: 91.84 kB / 455.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.08026, allocations: 422 kB / 456.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.08043, allocations: 92.34 kB / 456.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.08056, allocations: 167.4 kB / 456.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.08073, allocations: 155.3 kB / 456.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.08076, allocations: 36 kB / 456.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.08084, allocations: 39.98 kB / 456.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.08088, allocations: 79.66 kB / 456.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.08099, allocations: 175.2 kB / 456.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.08133, allocations: 398.4 kB / 457.2 MB, free: 500 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.08133, allocations: 0 / 457.2 MB, free: 500 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.08133, allocations: 0 / 457.2 MB, free: 500 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.08134, allocations: 3.938 kB / 457.2 MB, free: 496 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.000854/0.08219, allocations: 0.5575 MB / 457.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.08224, allocations: 15.98 kB / 457.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.08234, allocations: 67.33 kB / 457.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.08242, allocations: 44.7 kB / 457.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.08285, allocations: 225 kB / 458.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.08291, allocations: 27.22 kB / 458.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.08296, allocations: 28 kB / 458.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.0834, allocations: 238.1 kB / 458.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.08342, allocations: 0 / 458.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.08344, allocations: 8 kB / 458.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.08345, allocations: 8 kB / 458.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.08376, allocations: 174.5 kB / 458.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.08509, allocations: 0.7764 MB / 459.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.08562, allocations: 174.5 kB / 459.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.08575, allocations: 69.19 kB / 459.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.08577, allocations: 3.984 kB / 459.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.08581, allocations: 54.39 kB / 459.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.08581, allocations: 0 / 459.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001582/0.08739, allocations: 0.7749 MB / 460.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.08744, allocations: 59.41 kB / 460.5 MB, free: 13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.08775, allocations: 276.2 kB / 460.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.08779, allocations: 33.7 kB / 460.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.08792, allocations: 184.6 kB / 461 MB, free: 12.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/0.088, allocations: 95.31 kB / 461.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.08808, allocations: 57.94 kB / 461.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.08825, allocations: 346.7 kB / 461.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.08838, allocations: 69.97 kB / 461.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.08853, allocations: 117.2 kB / 461.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.08882, allocations: 192.2 kB / 461.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.08883, allocations: 4 kB / 461.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000386/0.08921, allocations: 245.5 kB / 462.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.08923, allocations: 4 kB / 462.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.08924, allocations: 11.88 kB / 462.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.08925, allocations: 0 / 462.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.08949, allocations: 59.97 kB / 462.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.0895, allocations: 3.938 kB / 462.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.08962, allocations: 8 kB / 462.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.08964, allocations: 16.12 kB / 462.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002128/0.08985, allocations: 172.7 kB / 462.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001383/0.08999, allocations: 104.2 kB / 462.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002652/0.09026, allocations: 192.3 kB / 462.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.011e-06/0.09026, allocations: 0 / 462.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.000363/0.09062, allocations: 249.3 kB / 462.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/0.09063, allocations: 4 kB / 462.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.09063, allocations: 4 kB / 462.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/0.09063, allocations: 0 / 462.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.09085, allocations: 59.91 kB / 463 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.09085, allocations: 0 / 463 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.09097, allocations: 12.12 kB / 463 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.09099, allocations: 12 kB / 463 MB, free: 10.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 34 * 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.000126/0.09112, allocations: 196.4 kB / 463.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.09117, allocations: 27.81 kB / 463.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.09156, allocations: 223.8 kB / 463.4 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.09156, allocations: 4 kB / 463.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.09156, allocations: 0 / 463.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.09157, allocations: 0 / 463.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009917/0.09256, allocations: 0.6965 MB / 464.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.09256, allocations: 4 kB / 464.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.09286, allocations: 67.84 kB / 464.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.09286, allocations: 0 / 464.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.09288, allocations: 8 kB / 464.2 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.09288, allocations: 12.09 kB / 464.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.09289, allocations: 3.938 kB / 464.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.09344, allocations: 419.5 kB / 464.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.09355, allocations: 51.83 kB / 464.7 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.09359, allocations: 15.92 kB / 464.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.09375, allocations: 8 kB / 464.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.0938, allocations: 19.91 kB / 464.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.09382, allocations: 19.94 kB / 464.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.09402, allocations: 199.1 kB / 464.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.09402, allocations: 0 / 464.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004457/0.09446, allocations: 116 kB / 465.1 MB, free: 8.234 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * 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 (26): * Single equations (assignments): 26 * 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.0008587/0.09532, allocations: 0.9663 MB / 466 MB, free: 7.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004786/0.0958, allocations: 268.3 kB / 466.3 MB, free: 6.965 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.0958, allocations: 0 / 466.3 MB, free: 6.965 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.09594, allocations: 91.78 kB / 466.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.0964, allocations: 53.7 kB / 466.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.1005, allocations: 3.064 MB / 469.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.1009, allocations: 0.7717 MB / 470.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.1011, allocations: 38.25 kB / 470.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.1012, allocations: 103.3 kB / 470.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1012, allocations: 0 / 470.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.135, allocations: 6.366 MB / 476.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.01, allocations: 3.984 kB / 476.8 MB, free: 12.26 MB / 350.1 MB " [Timeout remaining time 649] (rm -f MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitLinearize.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitLinearize.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestCylinderUnitLinearize_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Test_TestCylinderUnitLinearize.fmu > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.545998433000932] Failed to read output from testmodel.py, exit status != 0: 11.113194057001238 11.129678849 11.045260054 Calling exit ...