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/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/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001126/0.001126, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.416/0.416, allocations: 40 MB / 310.4 MB, free: 9.984 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006242/0.0006243, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1422, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0006491/0.1429, allocations: 208.5 kB / 437 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.145, allocations: 1.211 MB / 438.2 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.1451, allocations: 0 / 438.2 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.097e-05/0.1451, allocations: 0 / 438.2 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.1451, allocations: 0 / 438.2 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1462, allocations: 434.9 kB / 438.6 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.515e-05/0.1462, allocations: 0 / 438.6 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.1463, allocations: 4 kB / 438.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.825e-05/0.1463, allocations: 0 / 438.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.573e-05/0.1464, allocations: 7.875 kB / 438.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.722e-06/0.1464, allocations: 4 kB / 438.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009545/0.1473, allocations: 0.636 MB / 439.2 MB, free: 64 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-06/0.1473, allocations: 0 / 439.2 MB, free: 64 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.1474, allocations: 25.7 kB / 439.3 MB, free: 32 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.1479, allocations: 363.4 kB / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.1479, allocations: 0 / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1479, allocations: 0 / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1479, allocations: 0 / 439.6 MB, free: 15.68 MB / 382.1 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.0004632/0.1484, allocations: 461 kB / 440.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1484, allocations: 12.03 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1485, allocations: 0 / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1486, allocations: 163 kB / 440.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1486, allocations: 0 / 440.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.1486, allocations: 4 kB / 440.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.17e-05/0.1487, allocations: 29.7 kB / 440.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1487, allocations: 0 / 440.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.1487, allocations: 3.938 kB / 440.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1487, allocations: 3.984 kB / 440.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.558e-05/0.1488, allocations: 3.938 kB / 440.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.1489, allocations: 149.6 kB / 440.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.702e-05/0.149, allocations: 18.58 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.149, allocations: 4 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.967e-05/0.149, allocations: 64.3 kB / 440.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.149, allocations: 0 / 440.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000176/0.1492, allocations: 71.23 kB / 440.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.1493, allocations: 77.11 kB / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.208e-05/0.1493, allocations: 93.86 kB / 440.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1494, allocations: 25.7 kB / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.1494, allocations: 84.27 kB / 440.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.1494, allocations: 0 / 440.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-06/0.1494, allocations: 0 / 440.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1496, allocations: 318.8 kB / 441.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-06/0.1496, allocations: 0 / 441.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.1496, allocations: 3.984 kB / 441.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.1496, allocations: 25.7 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1496, allocations: 4 kB / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.538e-05/0.1497, allocations: 63.44 kB / 441.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.1497, allocations: 37.7 kB / 441.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1498, allocations: 0 / 441.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1498, allocations: 0 / 441.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.1498, allocations: 0 / 441.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1498, allocations: 3.984 kB / 441.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.1498, allocations: 4 kB / 441.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.1498, allocations: 0 / 441.3 MB, free: 13.73 MB / 382.1 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 8.578e-05/0.1499, allocations: 139.5 kB / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/0.1499, allocations: 0 / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.1e-05/0.1499, allocations: 7.125 kB / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1499, allocations: 0 / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.15, allocations: 4 kB / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.15, allocations: 0 / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1501, allocations: 149.6 kB / 441.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1501, allocations: 0 / 441.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.1501, allocations: 0 / 441.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1501, allocations: 0 / 441.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1501, allocations: 4 kB / 441.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1501, allocations: 0 / 441.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1501, allocations: 0 / 441.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.509e-05/0.1502, allocations: 102.8 kB / 441.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.1503, allocations: 85 kB / 441.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1503, allocations: 0 / 441.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.034e-05/0.1503, allocations: 7.938 kB / 441.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.1503, allocations: 0 / 441.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1503, allocations: 7.984 kB / 441.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.969e-05/0.1504, allocations: 75.28 kB / 441.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1504, allocations: 4.031 kB / 441.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004897/0.1509, allocations: 196 kB / 442.1 MB, free: 12.85 MB / 382.1 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.001202/0.1521, allocations: 0.5833 MB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.1522, allocations: 59.41 kB / 442.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1522, allocations: 0 / 442.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.1523, allocations: 63.33 kB / 442.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.521e-05/0.1523, allocations: 0 / 442.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/0.1526, allocations: 74.89 kB / 442.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.1529, allocations: 0.677 MB / 443.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.163e-06/0.1529, allocations: 0 / 443.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.247e-05/0.1529, allocations: 11.44 kB / 443.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1529, allocations: 0 / 443.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of Templates: time 0.008215/0.1611, allocations: 4.037 MB / 447.6 MB, free: 7.277 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: