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.005576/0.005576, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.001134/0.001134, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.392/1.392, 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.01033/0.01033, allocations: 1.924 MB / 271.8 MB, free: 3.234 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.001717/0.001717, allocations: 72.11 kB / 377.7 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.11, allocations: 47.13 MB / 424.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.2193/0.3293, allocations: 3.113 MB / 428 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3308, allocations: 0.7864 MB / 428.8 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.3311, allocations: 5.125 kB / 428.8 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.3313, allocations: 55.88 kB / 428.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.3317, allocations: 129.2 kB / 429 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.3321, allocations: 86.77 kB / 429 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.3327, allocations: 431.9 kB / 429.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.333, allocations: 131.3 kB / 429.6 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.3331, allocations: 153.8 kB / 429.7 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.3334, allocations: 163.1 kB / 429.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.3335, allocations: 34.28 kB / 429.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.3336, allocations: 43.62 kB / 430 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.3337, allocations: 68.02 kB / 430 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.3339, allocations: 191.2 kB / 430.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.3345, allocations: 391.2 kB / 430.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3346, allocations: 0.5625 kB / 430.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3346, allocations: 4.438 kB / 430.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3346, allocations: 0 / 430.6 MB, free: 9.18 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.001043/0.3356, allocations: 0.6256 MB / 431.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.158e-05/0.3357, allocations: 14.36 kB / 431.3 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.3358, allocations: 74.67 kB / 431.3 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.303e-05/0.3359, allocations: 38.42 kB / 431.4 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.3364, allocations: 290.6 kB / 431.7 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.3364, allocations: 20.84 kB / 431.7 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.3365, allocations: 33.41 kB / 431.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.3369, allocations: 232.2 kB / 431.9 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3369, allocations: 5.891 kB / 431.9 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.3369, allocations: 10.94 kB / 431.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.337, allocations: 9.656 kB / 432 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.3373, allocations: 176.7 kB / 432.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.3387, allocations: 0.8021 MB / 432.9 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.3393, allocations: 189.7 kB / 433.1 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.3394, allocations: 79.48 kB / 433.2 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.3395, allocations: 2.844 kB / 433.2 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3395, allocations: 36.42 kB / 433.2 MB, free: 7.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.194e-06/0.3395, allocations: 5.344 kB / 433.2 MB, free: 7.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001545/0.341, allocations: 0.9414 MB / 434.2 MB, free: 6.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.3411, allocations: 54.52 kB / 434.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.3414, allocations: 280.8 kB / 434.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3414, allocations: 31.8 kB / 434.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.3415, allocations: 187.9 kB / 434.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.3416, allocations: 93.39 kB / 434.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-05/0.3417, allocations: 58.62 kB / 434.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.3418, allocations: 342.6 kB / 435.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3419, allocations: 68.69 kB / 435.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.342, allocations: 107 kB / 435.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3423, allocations: 185.4 kB / 435.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3423, allocations: 0.9375 kB / 435.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003655/0.3427, allocations: 262.7 kB / 435.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3427, allocations: 9.156 kB / 435.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3427, allocations: 2.781 kB / 435.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3427, allocations: 2.688 kB / 435.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.343, allocations: 60.44 kB / 435.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.343, allocations: 5.688 kB / 435.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.3432, allocations: 7.031 kB / 435.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.3432, allocations: 11.53 kB / 435.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002136/0.3434, allocations: 172.9 kB / 436.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001308/0.3435, allocations: 114.7 kB / 436.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002492/0.3438, allocations: 189.2 kB / 436.4 MB, free: 5.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.3438, allocations: 1.719 kB / 436.4 MB, free: 5.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003589/0.3442, allocations: 241.9 kB / 436.6 MB, free: 5.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.3442, allocations: 6.297 kB / 436.6 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-06/0.3442, allocations: 1.125 kB / 436.6 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.3442, allocations: 7.625 kB / 436.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.3444, allocations: 58.36 kB / 436.7 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3444, allocations: 7.312 kB / 436.7 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3446, allocations: 6.469 kB / 436.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.3446, allocations: 11.7 kB / 436.7 MB, free: 4.988 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 7.688e-05/0.3447, allocations: 192.7 kB / 436.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.3447, allocations: 34.42 kB / 436.9 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.3451, allocations: 221.9 kB / 437.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3452, allocations: 6.375 kB / 437.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3452, allocations: 4 kB / 437.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3452, allocations: 2.812 kB / 437.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.3462, allocations: 0.7082 MB / 437.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.3462, allocations: 3.219 kB / 437.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.3465, allocations: 68.36 kB / 437.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.3466, allocations: 2.219 kB / 437.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.3466, allocations: 8.047 kB / 438 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3466, allocations: 2.281 kB / 438 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3466, allocations: 2.312 kB / 438 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.3471, allocations: 435.5 kB / 438.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.3473, allocations: 128.5 kB / 438.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.3473, allocations: 7.016 kB / 438.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.3475, allocations: 14.19 kB / 438.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.3476, allocations: 23.05 kB / 438.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.3476, allocations: 6.266 kB / 438.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.3478, allocations: 204.5 kB / 438.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3478, allocations: 1.094 kB / 438.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.3483, allocations: 113.8 kB / 438.9 MB, free: 3.566 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.0007111/0.349, allocations: 0.978 MB / 439.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006015/0.3496, allocations: 288.4 kB / 440.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3497, allocations: 0.5312 kB / 440.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.3499, allocations: 91.62 kB / 440.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.3504, allocations: 49.08 kB / 440.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.3541, allocations: 3.063 MB / 443.3 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3545, allocations: 0.7737 MB / 444.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.3546, allocations: 32.38 kB / 444.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.3548, allocations: 97.55 kB / 444.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of SimCode: time 2.004e-06/0.3548, allocations: 0 / 444.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.3816, allocations: 6.029 MB / 450.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.419, allocations: 5.109 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)