Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005715/0.005715, allocations: 174.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.558/1.558, allocations: 194.5 MB / 210.3 MB, free: 8.52 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001674/0.001674, allocations: 116.6 kB / 255.6 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1887/0.1887, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.000453, allocations: 11.12 kB / 406.1 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 54.87 MB / 461 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.2326, allocations: 82.71 MB / 0.531 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.2329, allocations: 67.91 kB / 0.531 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2784/0.5114, allocations: 16.72 MB / 0.5474 GB, free: 78.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5114, allocations: 0 / 0.5474 GB, free: 78.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.5114, allocations: 1.375 kB / 0.5474 GB, free: 78.04 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0008862/0.5123, allocations: 485.3 kB / 0.5478 GB, free: 77.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.5124, allocations: 13.31 kB / 0.5478 GB, free: 77.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.5125, allocations: 1.281 kB / 0.5478 GB, free: 77.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.5126, allocations: 163.1 kB / 0.548 GB, free: 77.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.5126, allocations: 1.281 kB / 0.548 GB, free: 77.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.5126, allocations: 0 / 0.548 GB, free: 77.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.5127, allocations: 35.75 kB / 0.548 GB, free: 77.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5127, allocations: 5.438 kB / 0.548 GB, free: 77.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5128, allocations: 0 / 0.548 GB, free: 77.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5128, allocations: 0 / 0.548 GB, free: 77.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.5128, allocations: 1.406 kB / 0.548 GB, free: 77.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.5129, allocations: 154.7 kB / 0.5482 GB, free: 77.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.371e-05/0.513, allocations: 17.55 kB / 0.5482 GB, free: 77.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-06/0.513, allocations: 0 / 0.5482 GB, free: 77.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.513, allocations: 57.8 kB / 0.5483 GB, free: 77.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.513, allocations: 0 / 0.5483 GB, free: 77.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000188/0.5132, allocations: 74.09 kB / 0.5483 GB, free: 76.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.5133, allocations: 82.52 kB / 0.5484 GB, free: 76.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.617e-05/0.5133, allocations: 85 kB / 0.5485 GB, free: 76.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.5133, allocations: 25.7 kB / 0.5485 GB, free: 76.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.638e-05/0.5134, allocations: 81.45 kB / 0.5486 GB, free: 76.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.5134, allocations: 3.984 kB / 0.5486 GB, free: 76.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.5134, allocations: 1.656 kB / 0.5486 GB, free: 76.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.47e-05/0.5135, allocations: 314.8 kB / 0.5489 GB, free: 76.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-06/0.5135, allocations: 0 / 0.5489 GB, free: 76.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.5135, allocations: 5.5 kB / 0.5489 GB, free: 76.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.347e-05/0.5135, allocations: 28.11 kB / 0.5489 GB, free: 76.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5135, allocations: 0 / 0.5489 GB, free: 76.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.781e-05/0.5136, allocations: 69.95 kB / 0.549 GB, free: 76.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.5136, allocations: 31.48 kB / 0.549 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5136, allocations: 0 / 0.549 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5137, allocations: 0 / 0.549 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.5137, allocations: 1.156 kB / 0.549 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5137, allocations: 3.953 kB / 0.549 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.5137, allocations: 1.031 kB / 0.549 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.5137, allocations: 9.094 kB / 0.549 GB, free: 76.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.147e-05/0.5138, allocations: 137.5 kB / 0.5492 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.5138, allocations: 5.078 kB / 0.5492 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.37e-05/0.5138, allocations: 7.078 kB / 0.5492 GB, free: 76.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5138, allocations: 1.125 kB / 0.5492 GB, free: 76.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5138, allocations: 0 / 0.5492 GB, free: 76.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5138, allocations: 3.953 kB / 0.5492 GB, free: 76.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.584e-05/0.5139, allocations: 147.8 kB / 0.5493 GB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5139, allocations: 0 / 0.5493 GB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.5139, allocations: 7.984 kB / 0.5493 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.5139, allocations: 1.156 kB / 0.5493 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.5139, allocations: 1.125 kB / 0.5493 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.5139, allocations: 0 / 0.5493 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5139, allocations: 0 / 0.5493 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.904e-05/0.514, allocations: 98.02 kB / 0.5494 GB, free: 75.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.5141, allocations: 85 kB / 0.5495 GB, free: 75.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.5141, allocations: 6.5 kB / 0.5495 GB, free: 75.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-06/0.5141, allocations: 0 / 0.5495 GB, free: 75.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.5141, allocations: 1.406 kB / 0.5495 GB, free: 75.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.5141, allocations: 0 / 0.5495 GB, free: 75.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.897e-05/0.5142, allocations: 75.28 kB / 0.5496 GB, free: 75.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5142, allocations: 1.375 kB / 0.5496 GB, free: 75.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005788/0.5148, allocations: 140.8 kB / 0.5497 GB, free: 75.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001073/0.5158, allocations: 466.9 kB / 0.5502 GB, free: 75.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.624e-05/0.5159, allocations: 55.16 kB / 0.5502 GB, free: 75.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.516, allocations: 3.938 kB / 0.5502 GB, free: 75.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.198e-05/0.516, allocations: 63.31 kB / 0.5503 GB, free: 75.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.413e-05/0.5161, allocations: 7.891 kB / 0.5503 GB, free: 75.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.5163, allocations: 79.12 kB / 0.5504 GB, free: 74.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.5164, allocations: 0.6731 MB / 0.551 GB, free: 74.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.094e-06/0.5164, allocations: 3.984 kB / 0.551 GB, free: 74.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.5164, allocations: 11.38 kB / 0.5511 GB, free: 74.28 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5164, allocations: 0 / 0.5511 GB, free: 74.28 MB / 378.7 MB Notification: Performance of Templates: time 0.00496/0.5214, allocations: 2.714 MB / 0.5537 GB, free: 72.49 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe 2>&1)