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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.00168/0.00168, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.002569/0.002569, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.4 MB / 222.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01311/0.01311, allocations: 1.936 MB / 272.3 MB, free: 3.281 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.0005377/0.0005377, allocations: 16.22 kB / 331 MB, free: 33.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1031, allocations: 48.09 MB / 379.1 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003309/0.1065, allocations: 2.799 MB / 381.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.108, allocations: 0.8352 MB / 382.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.1081, allocations: 11.94 kB / 382.7 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.349e-05/0.1082, allocations: 51.59 kB / 382.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.1086, allocations: 163.4 kB / 382.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1088, allocations: 67.92 kB / 383 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.1092, allocations: 279.4 kB / 383.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.1094, allocations: 97.86 kB / 383.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1095, allocations: 119.5 kB / 383.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.1097, allocations: 131.4 kB / 383.6 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.1098, allocations: 19.98 kB / 383.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.901e-05/0.1099, allocations: 24 kB / 383.6 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.1099, allocations: 47.77 kB / 383.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.582e-05/0.11, allocations: 93.52 kB / 383.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.1103, allocations: 279.3 kB / 384 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1103, allocations: 0 / 384 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1103, allocations: 0 / 384 MB, free: 12.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1103, allocations: 0 / 384 MB, free: 12.09 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.0008959/0.1112, allocations: 0.5648 MB / 384.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1113, allocations: 8.031 kB / 384.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.1114, allocations: 71.03 kB / 384.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.1115, allocations: 39.53 kB / 384.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.1118, allocations: 289.4 kB / 385 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1118, allocations: 16.56 kB / 385 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.1119, allocations: 28 kB / 385 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.1123, allocations: 232.9 kB / 385.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1123, allocations: 3.938 kB / 385.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.1124, allocations: 12 kB / 385.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.1124, allocations: 7.938 kB / 385.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.1127, allocations: 174.2 kB / 385.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.114, allocations: 0.8106 MB / 386.3 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.1146, allocations: 190.6 kB / 386.5 MB, free: 9.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1146, allocations: 7.938 kB / 386.5 MB, free: 9.492 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1146, allocations: 30.56 kB / 386.5 MB, free: 9.453 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.1147, allocations: 0 / 386.5 MB, free: 9.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.00165/0.1163, allocations: 0.9419 MB / 387.4 MB, free: 8.422 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1164, allocations: 55.41 kB / 387.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.1167, allocations: 279 kB / 387.8 MB, free: 8.074 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1167, allocations: 29.7 kB / 387.8 MB, free: 8.039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1168, allocations: 188.4 kB / 388 MB, free: 7.848 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.29e-05/0.1169, allocations: 90.66 kB / 388.1 MB, free: 7.758 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.1169, allocations: 4 kB / 388.1 MB, free: 7.754 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1171, allocations: 342.8 kB / 388.4 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1172, allocations: 64.53 kB / 388.5 MB, free: 7.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1173, allocations: 101.4 kB / 388.6 MB, free: 7.234 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1175, allocations: 72 kB / 388.6 MB, free: 7.164 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1175, allocations: 8 kB / 388.7 MB, free: 7.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003465/0.1179, allocations: 245.8 kB / 388.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.1181, allocations: 456 kB / 389.3 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1181, allocations: 0 / 389.3 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1181, allocations: 7.953 kB / 389.3 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.1184, allocations: 59.91 kB / 389.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1184, allocations: 4 kB / 389.4 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.1185, allocations: 4 kB / 389.4 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.1185, allocations: 19.88 kB / 389.4 MB, free: 6.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.814e-06/0.1186, allocations: 4 kB / 389.4 MB, free: 6.336 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002787/0.1188, allocations: 191.9 kB / 389.6 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/0.1189, allocations: 0 / 389.6 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.1189, allocations: 4 kB / 389.6 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.1191, allocations: 55.92 kB / 389.7 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1191, allocations: 4 kB / 389.7 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1192, allocations: 7.938 kB / 389.7 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1192, allocations: 11.98 kB / 389.7 MB, free: 6.066 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.1194, allocations: 229.2 kB / 389.9 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.1195, allocations: 31.56 kB / 390 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.1198, allocations: 219.8 kB / 390.2 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1198, allocations: 4 kB / 390.2 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1198, allocations: 0 / 390.2 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1198, allocations: 3.984 kB / 390.2 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009451/0.1208, allocations: 0.7234 MB / 390.9 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1208, allocations: 4 kB / 390.9 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.1211, allocations: 55.91 kB / 391 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1211, allocations: 4 kB / 391 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.1211, allocations: 11.95 kB / 391 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1211, allocations: 4.156 kB / 391 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1212, allocations: 4 kB / 391 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.1217, allocations: 487.8 kB / 391.5 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.1218, allocations: 128.7 kB / 391.6 MB, free: 4.016 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.1219, allocations: 8 kB / 391.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.1221, allocations: 8 kB / 391.6 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.1221, allocations: 31.92 kB / 391.6 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1221, allocations: 4 kB / 391.6 MB, free: 3.965 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.1224, allocations: 198 kB / 391.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1224, allocations: 0 / 391.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004533/0.1228, allocations: 116 kB / 391.9 MB, free: 3.656 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000917/0.1237, allocations: 1.37 MB / 393.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004355/0.1242, allocations: 280.8 kB / 393.6 MB, free: 1.949 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1242, allocations: 0 / 393.6 MB, free: 1.949 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.1243, allocations: 91.78 kB / 393.7 MB, free: 1.859 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1247, allocations: 49.58 kB / 393.7 MB, free: 1.809 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.1277, allocations: 2.523 MB / 396.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1281, allocations: 0.7834 MB / 397 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000153/0.1282, allocations: 34.27 kB / 397.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.1284, allocations: 99.41 kB / 397.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1284, allocations: 0 / 397.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.1476, allocations: 5.382 MB / 402.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/0.1479, allocations: 152 kB / 402.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.161, allocations: 0 / 402.7 MB, free: 8.648 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitLinearize_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitLinearize.fmu > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1) Environment - environmentSimulation: