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: translateModel(MEV.Test.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") translateModel(MEV.Test.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 109.2 kB / 16.41 MB, free: 6.508 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.001222/0.001222, allocations: 189.6 kB / 17.35 MB, free: 5.758 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.183/1.183, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00742/0.00742, allocations: 1.935 MB / 272.5 MB, free: 10.09 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.001349/0.001349, allocations: 74.05 kB / 378.9 MB, free: 51.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05897/0.06033, allocations: 47.13 MB / 426 MB, free: 19.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.002876/0.06322, allocations: 3.129 MB / 429.2 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.06427, allocations: 0.7878 MB / 430 MB, free: 16.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.06446, allocations: 4 kB / 430 MB, free: 16.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.06461, allocations: 55.48 kB / 430 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.06483, allocations: 119 kB / 430.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.06506, allocations: 103.8 kB / 430.2 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.06535, allocations: 414.1 kB / 430.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.06554, allocations: 135.9 kB / 430.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.06567, allocations: 155.3 kB / 430.9 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.06584, allocations: 155.3 kB / 431.1 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.06588, allocations: 32 kB / 431.1 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.207e-05/0.06597, allocations: 44 kB / 431.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.06601, allocations: 79.62 kB / 431.2 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.951e-05/0.06612, allocations: 179.2 kB / 431.4 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.06639, allocations: 398.6 kB / 431.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.0664, allocations: 0 / 431.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.06641, allocations: 3.938 kB / 431.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.06643, allocations: 0 / 431.8 MB, free: 14.19 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.0007243/0.06716, allocations: 0.6118 MB / 432.4 MB, free: 13.53 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.06719, allocations: 15.89 kB / 432.4 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.06726, allocations: 40.47 kB / 432.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.0675, allocations: 290.6 kB / 432.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.06752, allocations: 24.94 kB / 432.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.06756, allocations: 32.12 kB / 432.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.06787, allocations: 228.9 kB / 433 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.0679, allocations: 0 / 433 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.06792, allocations: 12 kB / 433 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.06793, allocations: 4 kB / 433 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.06817, allocations: 174.1 kB / 433.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.06911, allocations: 0.8027 MB / 434 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.06954, allocations: 186.5 kB / 434.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.06964, allocations: 76.84 kB / 434.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.06967, allocations: 0 / 434.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.06969, allocations: 38.91 kB / 434.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.06969, allocations: 0 / 434.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.00114/0.07084, allocations: 0.9368 MB / 435.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.316e-05/0.07086, allocations: 55.41 kB / 435.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.07106, allocations: 287 kB / 435.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.07108, allocations: 33.7 kB / 435.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.07114, allocations: 180.3 kB / 435.8 MB, free: 9.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.07118, allocations: 94.64 kB / 435.9 MB, free: 9.805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.07125, allocations: 53.98 kB / 435.9 MB, free: 9.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.0713, allocations: 338.8 kB / 436.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.07139, allocations: 69.95 kB / 436.3 MB, free: 9.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.0715, allocations: 113.3 kB / 436.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.0717, allocations: 180.2 kB / 436.6 MB, free: 9.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.07171, allocations: 4 kB / 436.6 MB, free: 9.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002717/0.07199, allocations: 265.6 kB / 436.9 MB, free: 8.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.07201, allocations: 4 kB / 436.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.07202, allocations: 3.938 kB / 436.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.07203, allocations: 7.938 kB / 436.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.07225, allocations: 59.91 kB / 437 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.07226, allocations: 4 kB / 437 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.07239, allocations: 8 kB / 437 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.07241, allocations: 8 kB / 437 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001376/0.07255, allocations: 176.8 kB / 437.1 MB, free: 8.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.269e-05/0.07265, allocations: 112.7 kB / 437.3 MB, free: 8.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001725/0.07283, allocations: 176.2 kB / 437.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.07283, allocations: 4 kB / 437.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0002521/0.07309, allocations: 249.5 kB / 437.7 MB, free: 7.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.45e-06/0.0731, allocations: 4 kB / 437.7 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.07311, allocations: 4 kB / 437.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-06/0.07311, allocations: 0 / 437.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.07331, allocations: 67.91 kB / 437.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.07332, allocations: 3.938 kB / 437.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.07343, allocations: 8 kB / 437.8 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.07344, allocations: 12.12 kB / 437.8 MB, free: 7.816 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 5.458e-05/0.0735, allocations: 192.2 kB / 438 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.07355, allocations: 27.62 kB / 438 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.07382, allocations: 215.8 kB / 438.2 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.07383, allocations: 7.922 kB / 438.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.07384, allocations: 3.938 kB / 438.2 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.07392, allocations: 124.8 kB / 438.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.07396, allocations: 11.98 kB / 438.3 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.07412, allocations: 11.98 kB / 438.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.07415, allocations: 11.98 kB / 438.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004378/0.07459, allocations: 321.1 kB / 438.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003466/0.07495, allocations: 478.2 kB / 439.2 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.422e-05/0.07504, allocations: 80 kB / 439.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.07516, allocations: 206 kB / 439.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of Backend: time 2.61e-07/0.07517, allocations: 0 / 439.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005271/0.0757, allocations: 310 kB / 439.7 MB, free: 5.797 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008915/0.0766, allocations: 1.181 MB / 440.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of Templates: time 0.005609/0.08222, allocations: 3.712 MB / 444.6 MB, free: 0.8438 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitLinearize.makefile (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 & ./MEV_MEV.Test.TestCylinderUnitLinearize -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1)