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.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/MEV 1.1.1/package.mo", uses=false) 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.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005953/0.005953, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001324/0.001324, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.407/1.407, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008246/0.008246, allocations: 1.935 MB / 271.8 MB, free: 3.25 MB / 222.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.00207/0.00207, allocations: 75.89 kB / 377.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.08575, allocations: 47.12 MB / 424.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.1581/0.2439, allocations: 3.115 MB / 428 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.245, allocations: 0.7886 MB / 428.8 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2452, allocations: 4.438 kB / 428.8 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.2453, allocations: 52.83 kB / 428.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.2456, allocations: 116.6 kB / 428.9 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.2458, allocations: 96.33 kB / 429 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.2462, allocations: 424.7 kB / 429.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.2464, allocations: 136.9 kB / 429.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.2465, allocations: 144.3 kB / 429.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.2467, allocations: 165.6 kB / 429.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.2468, allocations: 36.31 kB / 429.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.2469, allocations: 43.7 kB / 430 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.2469, allocations: 69.19 kB / 430 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.2471, allocations: 186.7 kB / 430.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.2475, allocations: 395.1 kB / 430.6 MB, free: 9.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2475, allocations: 1.438 kB / 430.6 MB, free: 9.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2475, allocations: 0.5938 kB / 430.6 MB, free: 9.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2475, allocations: 0 / 430.6 MB, free: 9.211 MB / 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.0007941/0.2483, allocations: 0.6254 MB / 431.2 MB, free: 8.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2484, allocations: 13.77 kB / 431.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.021e-05/0.2484, allocations: 71.3 kB / 431.3 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/0.2485, allocations: 39.44 kB / 431.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.2488, allocations: 293.6 kB / 431.6 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.2489, allocations: 20.5 kB / 431.7 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.2489, allocations: 34.02 kB / 431.7 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.2493, allocations: 233.9 kB / 431.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.2493, allocations: 1.062 kB / 431.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.2493, allocations: 10.55 kB / 431.9 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2494, allocations: 6.406 kB / 431.9 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.2496, allocations: 172.2 kB / 432.1 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2507, allocations: 0.807 MB / 432.9 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.2512, allocations: 198.5 kB / 433.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.2514, allocations: 70.89 kB / 433.2 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.2514, allocations: 2.281 kB / 433.2 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.2514, allocations: 41.36 kB / 433.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/0.2514, allocations: 0 / 433.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001381/0.2528, allocations: 0.9494 MB / 434.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.2528, allocations: 60.14 kB / 434.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.2531, allocations: 278.7 kB / 434.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2531, allocations: 31.23 kB / 434.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.2532, allocations: 190.6 kB / 434.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.2533, allocations: 89.03 kB / 434.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/0.2533, allocations: 57.95 kB / 434.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.2534, allocations: 336.4 kB / 435.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.2535, allocations: 74.41 kB / 435.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.2537, allocations: 108.3 kB / 435.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.2539, allocations: 185.7 kB / 435.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2539, allocations: 0 / 435.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003369/0.2543, allocations: 262.6 kB / 435.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2543, allocations: 10.86 kB / 435.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2543, allocations: 1.531 kB / 435.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2543, allocations: 2.812 kB / 435.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.2545, allocations: 56.59 kB / 435.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2546, allocations: 3.141 kB / 435.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2547, allocations: 6.312 kB / 435.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.2547, allocations: 16.8 kB / 435.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001686/0.2549, allocations: 171.5 kB / 436.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001192/0.255, allocations: 115.8 kB / 436.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002326/0.2552, allocations: 184.8 kB / 436.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.2553, allocations: 0 / 436.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.000344/0.2556, allocations: 248.5 kB / 436.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/0.2556, allocations: 4.656 kB / 436.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.2556, allocations: 5.219 kB / 436.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-06/0.2556, allocations: 7.406 kB / 436.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.2558, allocations: 51.58 kB / 436.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2559, allocations: 6.156 kB / 436.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.256, allocations: 12.22 kB / 436.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.256, allocations: 10.97 kB / 436.7 MB, free: 5.02 MB / 318.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 6.179e-05/0.2561, allocations: 192.3 kB / 436.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.2561, allocations: 33.5 kB / 436.9 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.2564, allocations: 219.8 kB / 437.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2565, allocations: 2.875 kB / 437.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2565, allocations: 3.938 kB / 437.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2565, allocations: 3.453 kB / 437.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007957/0.2573, allocations: 0.7169 MB / 437.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2573, allocations: 1.938 kB / 437.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.2576, allocations: 64.12 kB / 437.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2576, allocations: 2.125 kB / 437.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.2576, allocations: 12.3 kB / 437.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2576, allocations: 6.969 kB / 438 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2576, allocations: 1.594 kB / 438 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.2581, allocations: 436.9 kB / 438.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.2582, allocations: 126.7 kB / 438.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.2582, allocations: 8.172 kB / 438.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.2584, allocations: 10.77 kB / 438.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.2584, allocations: 18.08 kB / 438.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.2585, allocations: 10.97 kB / 438.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.2586, allocations: 200 kB / 438.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.2586, allocations: 0 / 438.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.2591, allocations: 118 kB / 438.9 MB, free: 3.594 MB / 318.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.0005856/0.2597, allocations: 0.972 MB / 439.8 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.2601, allocations: 293.1 kB / 440.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2602, allocations: 0.5625 kB / 440.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.2603, allocations: 87.78 kB / 440.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.2608, allocations: 55.56 kB / 440.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.2639, allocations: 3.056 MB / 443.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.2642, allocations: 0.7752 MB / 444.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.2643, allocations: 39.16 kB / 444.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.2645, allocations: 102.1 kB / 444.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2645, allocations: 0 / 444.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.2938, allocations: 6.023 MB / 450.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.365, allocations: 13.08 kB / 450.3 MB, free: 14.05 MB / 334.1 MB (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)