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.001645/0.001645, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 194 kB / 16.53 MB, free: 6.391 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.505/1.505, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008768/0.008767, allocations: 1.935 MB / 271.7 MB, free: 3.363 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.001505/0.001505, allocations: 75.88 kB / 329.9 MB, free: 32.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08325/0.08477, allocations: 47.14 MB / 377.1 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.004197/0.08901, allocations: 3.121 MB / 380.2 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.0902, allocations: 0.784 MB / 381 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.09034, allocations: 7.938 kB / 381 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.09052, allocations: 51.48 kB / 381 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.09074, allocations: 123 kB / 381.2 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.091, allocations: 95.83 kB / 381.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.09136, allocations: 418.1 kB / 381.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.09159, allocations: 127.7 kB / 381.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.09172, allocations: 143.4 kB / 381.9 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.09192, allocations: 175.2 kB / 382.1 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.09197, allocations: 32 kB / 382.1 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.703e-05/0.09207, allocations: 40 kB / 382.2 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.09214, allocations: 75.7 kB / 382.2 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.0923, allocations: 183.1 kB / 382.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.09264, allocations: 386.7 kB / 382.8 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.09265, allocations: 0 / 382.8 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09266, allocations: 3.938 kB / 382.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.09267, allocations: 0 / 382.8 MB, free: 11.8 MB / 286.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.0008724/0.09355, allocations: 0.6195 MB / 383.4 MB, free: 11.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.0936, allocations: 15.89 kB / 383.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.263e-05/0.09369, allocations: 59.3 kB / 383.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.09376, allocations: 44.45 kB / 383.5 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.09406, allocations: 286.6 kB / 383.8 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.09409, allocations: 24.94 kB / 383.8 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.09414, allocations: 27.94 kB / 383.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.09453, allocations: 244.8 kB / 384.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.09456, allocations: 3.938 kB / 384.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.09459, allocations: 12 kB / 384.1 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.0946, allocations: 4 kB / 384.1 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.09489, allocations: 166.2 kB / 384.3 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.09616, allocations: 0.8105 MB / 385.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.0967, allocations: 190.6 kB / 385.3 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.09683, allocations: 76.77 kB / 385.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.09686, allocations: 4 kB / 385.4 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.0969, allocations: 34.56 kB / 385.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.09691, allocations: 0 / 385.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001599/0.09851, allocations: 0.9403 MB / 386.3 MB, free: 8.004 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.09856, allocations: 59.41 kB / 386.4 MB, free: 7.934 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.09886, allocations: 283 kB / 386.7 MB, free: 7.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.09889, allocations: 29.7 kB / 386.7 MB, free: 7.609 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.09904, allocations: 188.2 kB / 386.9 MB, free: 7.422 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.09912, allocations: 86.66 kB / 387 MB, free: 7.336 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.09921, allocations: 57.98 kB / 387 MB, free: 7.273 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.09934, allocations: 334.8 kB / 387.4 MB, free: 6.938 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.09947, allocations: 69.95 kB / 387.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.09963, allocations: 109.4 kB / 387.5 MB, free: 6.746 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.09991, allocations: 184.2 kB / 387.7 MB, free: 6.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.09991, allocations: 0 / 387.7 MB, free: 6.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003732/0.1003, allocations: 253.7 kB / 388 MB, free: 6.297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1003, allocations: 11.88 kB / 388 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1003, allocations: 12.11 kB / 388 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1004, allocations: 0 / 388 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1006, allocations: 59.92 kB / 388 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1006, allocations: 0 / 388 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.1007, allocations: 8 kB / 388 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.1008, allocations: 11.98 kB / 388.1 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001955/0.101, allocations: 172.7 kB / 388.2 MB, free: 6.023 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001364/0.1011, allocations: 116.6 kB / 388.3 MB, free: 5.895 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002844/0.1014, allocations: 188.2 kB / 388.5 MB, free: 5.695 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.1014, allocations: 0 / 388.5 MB, free: 5.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.00037/0.1018, allocations: 241.5 kB / 388.8 MB, free: 5.453 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.1018, allocations: 12.75 kB / 388.8 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/0.1018, allocations: 0 / 388.8 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/0.1018, allocations: 7.938 kB / 388.8 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.102, allocations: 59.92 kB / 388.8 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1021, allocations: 7.938 kB / 388.8 MB, free: 5.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1022, allocations: 7.938 kB / 388.9 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.1022, allocations: 15.98 kB / 388.9 MB, free: 5.344 MB / 286.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.0001085/0.1023, allocations: 192.2 kB / 389.1 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.1024, allocations: 31.56 kB / 389.1 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.1028, allocations: 219.8 kB / 389.3 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1028, allocations: 4 kB / 389.3 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1028, allocations: 0 / 389.3 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1028, allocations: 3.984 kB / 389.3 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009212/0.1037, allocations: 0.7208 MB / 390 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1037, allocations: 0 / 390 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.104, allocations: 59.91 kB / 390.1 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.104, allocations: 4 kB / 390.1 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1041, allocations: 4 kB / 390.1 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1041, allocations: 4 kB / 390.1 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1041, allocations: 0 / 390.1 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005004/0.1046, allocations: 435.6 kB / 390.5 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1047, allocations: 136.7 kB / 390.7 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.1047, allocations: 4 kB / 390.7 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1049, allocations: 12 kB / 390.7 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.105, allocations: 27.84 kB / 390.7 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.105, allocations: 8 kB / 390.7 MB, free: 3.367 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1052, allocations: 202 kB / 390.9 MB, free: 3.172 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1052, allocations: 0 / 390.9 MB, free: 3.172 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004488/0.1056, allocations: 116 kB / 391 MB, free: 3.059 MB / 286.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.000947/0.1066, allocations: 0.9667 MB / 392 MB, free: 2.047 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006253/0.1072, allocations: 296 kB / 392.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1072, allocations: 0 / 392.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.1074, allocations: 95.84 kB / 392.4 MB, free: 1.664 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.1079, allocations: 48.69 kB / 392.4 MB, free: 1.617 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.1118, allocations: 3.088 MB / 395.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.1122, allocations: 0.7755 MB / 396.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.1124, allocations: 42.19 kB / 396.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.1125, allocations: 95.41 kB / 396.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1125, allocations: 4 kB / 396.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.1404, allocations: 5.871 MB / 402.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/7.836, allocations: 19.86 kB / 402.3 MB, free: 7.504 MB / 302.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)