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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009273/0.0009273, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.009989/0.009989, allocations: 1.924 MB / 9.995 MB, free: 0.5938 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.3 MB / 216.2 MB, free: 15.9 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008127/0.0008127, allocations: 85.62 kB / 264.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.563e-05, allocations: 0 / 319.1 MB, free: 19.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07807/0.0781, allocations: 48.1 MB / 367.2 MB, free: 3.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2746/0.3527, allocations: 78.21 MB / 445.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.353, allocations: 70.41 kB / 445.5 MB, free: 15.79 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo:395:7-396:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.01482/0.3678, allocations: 5.718 MB / 451.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3678, allocations: 0 / 451.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.148e-05/0.3679, allocations: 8 kB / 451.2 MB, free: 11.09 MB / 330.7 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.0006825/0.3686, allocations: 0.5265 MB / 451.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3686, allocations: 8.031 kB / 451.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.3687, allocations: 38.81 kB / 451.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.369, allocations: 275.6 kB / 452.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.369, allocations: 16 kB / 452.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.3691, allocations: 12 kB / 452.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002764/0.3693, allocations: 153.9 kB / 452.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.3697, allocations: 190.6 kB / 452.4 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3697, allocations: 0 / 452.4 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.3697, allocations: 0 / 452.4 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3698, allocations: 11.98 kB / 452.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.3709, allocations: 0.7477 MB / 453.2 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.3714, allocations: 169.1 kB / 453.4 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3715, allocations: 73.92 kB / 453.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3715, allocations: 4 kB / 453.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3715, allocations: 33.94 kB / 453.5 MB, free: 9.098 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.3716, allocations: 2.078 kB / 453.5 MB, free: 9.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001261/0.3728, allocations: 0.8144 MB / 454.3 MB, free: 8.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.3729, allocations: 59.41 kB / 454.3 MB, free: 8.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.3731, allocations: 201.6 kB / 454.5 MB, free: 8.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3731, allocations: 25.7 kB / 454.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.763e-05/0.3732, allocations: 188.3 kB / 454.8 MB, free: 7.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.3733, allocations: 80.81 kB / 454.8 MB, free: 7.805 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.3733, allocations: 7.938 kB / 454.8 MB, free: 7.797 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3734, allocations: 338.1 kB / 455.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/0.3735, allocations: 54.81 kB / 455.2 MB, free: 7.434 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3736, allocations: 97.56 kB / 455.3 MB, free: 7.352 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.3738, allocations: 76.03 kB / 455.4 MB, free: 7.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3738, allocations: 0 / 455.4 MB, free: 7.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003547/0.3741, allocations: 232.3 kB / 455.6 MB, free: 7.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.3743, allocations: 452.1 kB / 456.1 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3743, allocations: 0 / 456.1 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3743, allocations: 4 kB / 456.1 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.3746, allocations: 58.97 kB / 456.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3746, allocations: 4 kB / 456.1 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3747, allocations: 224 / 456.1 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.3747, allocations: 11.94 kB / 456.1 MB, free: 6.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.3748, allocations: 7.938 kB / 456.1 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00024/0.375, allocations: 163.3 kB / 456.3 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.375, allocations: 7.953 kB / 456.3 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/0.375, allocations: 0 / 456.3 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.3752, allocations: 62.84 kB / 456.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.3753, allocations: 0 / 456.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.3754, allocations: 4 kB / 456.4 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3754, allocations: 6.875 kB / 456.4 MB, free: 6.383 MB / 330.7 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 () * 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 7.744e-05/0.3755, allocations: 108.9 kB / 456.5 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002779/0.3757, allocations: 181.7 kB / 456.7 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.3758, allocations: 27.67 kB / 456.7 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.3761, allocations: 196.4 kB / 456.9 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3762, allocations: 4 kB / 456.9 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3762, allocations: 0 / 456.9 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3762, allocations: 7.922 kB / 456.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007917/0.377, allocations: 0.6436 MB / 457.5 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.377, allocations: 3.984 kB / 457.5 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.3773, allocations: 59.91 kB / 457.6 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3773, allocations: 4 kB / 457.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3773, allocations: 3.812 kB / 457.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3773, allocations: 4 kB / 457.6 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3773, allocations: 0 / 457.6 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.3778, allocations: 471.6 kB / 458.1 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3779, allocations: 123.8 kB / 458.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.378, allocations: 0 / 458.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.3782, allocations: 11.98 kB / 458.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.3782, allocations: 15.23 kB / 458.2 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3782, allocations: 8 kB / 458.2 MB, free: 4.695 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.3783, allocations: 170.4 kB / 458.4 MB, free: 4.559 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3784, allocations: 0 / 458.4 MB, free: 4.559 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004384/0.3788, allocations: 107.9 kB / 458.5 MB, free: 4.453 MB / 330.7 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 () * 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.0008033/0.3796, allocations: 1.339 MB / 459.8 MB, free: 3.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.38, allocations: 262.4 kB / 460.1 MB, free: 2.961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.38, allocations: 4 kB / 460.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.3801, allocations: 75.23 kB / 460.2 MB, free: 2.902 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.3804, allocations: 44.09 kB / 460.2 MB, free: 2.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.3816, allocations: 0.6268 MB / 460.8 MB, free: 2.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.382, allocations: 0.7915 MB / 461.6 MB, free: 1.414 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.3822, allocations: 39.34 kB / 461.7 MB, free: 1.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.3823, allocations: 95.47 kB / 461.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3823, allocations: 3.938 kB / 461.8 MB, free: 1.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.4051, allocations: 4.752 MB / 466.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/0.4053, allocations: 108.2 kB / 466.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.149, allocations: 0 / 466.6 MB, free: 12.42 MB / 346.7 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)