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.001983/0.001983, allocations: 108 kB / 15.61 MB, free: 128 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.002696/0.002696, allocations: 197.5 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.314/2.314, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01823/0.01823, allocations: 1.935 MB / 271.7 MB, free: 3.348 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.002182/0.002183, allocations: 76.11 kB / 329.9 MB, free: 32.72 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1803, allocations: 47.13 MB / 377.1 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.008188/0.1886, allocations: 3.125 MB / 380.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.1915, allocations: 0.7918 MB / 381 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005654/0.1921, allocations: 4 kB / 381 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1924, allocations: 51.48 kB / 381 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005533/0.1931, allocations: 115 kB / 381.2 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/0.1938, allocations: 91.84 kB / 381.2 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006913/0.1946, allocations: 414.1 kB / 381.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.195, allocations: 139.7 kB / 381.8 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.1953, allocations: 147.3 kB / 381.9 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.1956, allocations: 159.3 kB / 382.1 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.1957, allocations: 36 kB / 382.1 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.1959, allocations: 39.98 kB / 382.2 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.186e-05/0.196, allocations: 75.64 kB / 382.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.1962, allocations: 179.2 kB / 382.4 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006603/0.1969, allocations: 398.7 kB / 382.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.1969, allocations: 0 / 382.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.648e-06/0.197, allocations: 0 / 382.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.197, allocations: 7.875 kB / 382.8 MB, free: 11.77 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.001548/0.1985, allocations: 0.6156 MB / 383.4 MB, free: 11.1 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.522e-05/0.1986, allocations: 15.89 kB / 383.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.1988, allocations: 63.28 kB / 383.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.1989, allocations: 36.47 kB / 383.5 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.1994, allocations: 294.6 kB / 383.8 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.1995, allocations: 20.94 kB / 383.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.1996, allocations: 27.94 kB / 383.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.2001, allocations: 232.9 kB / 384.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.2001, allocations: 4 kB / 384.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.2002, allocations: 8 kB / 384.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.2002, allocations: 15.94 kB / 384.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.2006, allocations: 170.2 kB / 384.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.2024, allocations: 0.8105 MB / 385.1 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.203, allocations: 186.5 kB / 385.3 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.2032, allocations: 72.84 kB / 385.4 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.2033, allocations: 160 / 385.4 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.2033, allocations: 46.55 kB / 385.4 MB, free: 8.996 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/0.2033, allocations: 0 / 385.4 MB, free: 8.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002042/0.2054, allocations: 0.9401 MB / 386.3 MB, free: 7.969 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.2055, allocations: 59.41 kB / 386.4 MB, free: 7.898 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.2059, allocations: 283 kB / 386.7 MB, free: 7.609 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.2059, allocations: 33.7 kB / 386.7 MB, free: 7.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.2061, allocations: 180.2 kB / 386.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.2062, allocations: 90.66 kB / 387 MB, free: 7.301 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.2063, allocations: 49.98 kB / 387 MB, free: 7.246 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.2066, allocations: 342.8 kB / 387.4 MB, free: 6.902 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.2067, allocations: 73.91 kB / 387.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.2069, allocations: 113.4 kB / 387.5 MB, free: 6.703 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.2073, allocations: 184.2 kB / 387.7 MB, free: 6.508 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2073, allocations: 0 / 387.7 MB, free: 6.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004221/0.2077, allocations: 253.7 kB / 388 MB, free: 6.254 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.2077, allocations: 7.938 kB / 388 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2078, allocations: 3.938 kB / 388 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.2078, allocations: 4 kB / 388 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.208, allocations: 63.91 kB / 388 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2081, allocations: 0 / 388 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.2082, allocations: 8 kB / 388.1 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.2082, allocations: 12.12 kB / 388.1 MB, free: 6.156 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000237/0.2085, allocations: 176.7 kB / 388.2 MB, free: 5.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001603/0.2087, allocations: 108.7 kB / 388.3 MB, free: 5.859 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003187/0.209, allocations: 184.2 kB / 388.5 MB, free: 5.664 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.441e-06/0.209, allocations: 4 kB / 388.5 MB, free: 5.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0004371/0.2095, allocations: 241.5 kB / 388.8 MB, free: 5.418 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2095, allocations: 4 kB / 388.8 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2095, allocations: 7.984 kB / 388.8 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.2095, allocations: 3.938 kB / 388.8 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.2098, allocations: 63.91 kB / 388.8 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.2098, allocations: 0 / 388.8 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2099, allocations: 12.12 kB / 388.9 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.21, allocations: 8 kB / 388.9 MB, free: 5.32 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.0001892/0.2102, allocations: 192.2 kB / 389 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.2102, allocations: 39.5 kB / 389.1 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.2107, allocations: 215.8 kB / 389.3 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2107, allocations: 7.938 kB / 389.3 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2107, allocations: 0 / 389.3 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2108, allocations: 0 / 389.3 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.2118, allocations: 0.717 MB / 390 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2118, allocations: 4 kB / 390 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.2121, allocations: 63.89 kB / 390.1 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2122, allocations: 4.156 kB / 390.1 MB, free: 4.004 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.2122, allocations: 8 kB / 390.1 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.2122, allocations: 8 kB / 390.1 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.2122, allocations: 3.938 kB / 390.1 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.2129, allocations: 431.5 kB / 390.5 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.2131, allocations: 128.8 kB / 390.7 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.2132, allocations: 8 kB / 390.7 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.2134, allocations: 11.98 kB / 390.7 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.2134, allocations: 23.86 kB / 390.7 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.2134, allocations: 11.94 kB / 390.7 MB, free: 3.332 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003129/0.2138, allocations: 206 kB / 390.9 MB, free: 3.133 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2138, allocations: 0 / 390.9 MB, free: 3.133 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005149/0.2143, allocations: 116 kB / 391 MB, free: 3.02 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.001395/0.2157, allocations: 0.9628 MB / 392 MB, free: 2.012 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000698/0.2164, allocations: 291.9 kB / 392.3 MB, free: 1.727 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.2165, allocations: 0 / 392.3 MB, free: 1.727 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.2166, allocations: 88.42 kB / 392.4 MB, free: 1.641 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.2174, allocations: 60.92 kB / 392.4 MB, free: 1.582 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.2226, allocations: 3.091 MB / 395.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.2232, allocations: 0.7755 MB / 396.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.2234, allocations: 38.25 kB / 396.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.2236, allocations: 95.41 kB / 396.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2236, allocations: 0 / 396.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.272/3.496, allocations: 5.878 MB / 402.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.81/23.31, allocations: 15.88 kB / 402.3 MB, free: 7.469 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/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)