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.001125/0.001125, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001016/0.001016, allocations: 168.7 kB / 15.95 MB, free: 204 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.787/1.787, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.4402/0.4402, allocations: 40 MB / 310.4 MB, free: 10.14 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.0005468/0.0005468, allocations: 12 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1406, allocations: 57.97 MB / 436.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.00062/0.1413, allocations: 214.1 kB / 437 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1434, allocations: 1.198 MB / 438.2 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.1434, allocations: 4 kB / 438.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1435, allocations: 0 / 438.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.752e-06/0.1435, allocations: 0 / 438.2 MB, free: 1.133 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:4:3-219:14:writable] Warning: Pure function ‘ModelicaTest.Utilities.Strings‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.1446, allocations: 435 kB / 438.6 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.677e-05/0.1446, allocations: 8 kB / 438.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.1447, allocations: 0 / 438.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.1447, allocations: 7.984 kB / 438.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.013e-05/0.1447, allocations: 0 / 438.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-06/0.1447, allocations: 0 / 438.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.1478, allocations: 1.873 MB / 440.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1478, allocations: 4 kB / 440.5 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.1479, allocations: 25.7 kB / 440.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1481, allocations: 111.8 kB / 440.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1481, allocations: 7.875 kB / 440.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1481, allocations: 0 / 440.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1481, allocations: 0 / 440.7 MB, free: 14.66 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.0003541/0.1485, allocations: 377.1 kB / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1485, allocations: 8.031 kB / 441 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.1485, allocations: 4 kB / 441 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.1487, allocations: 159.1 kB / 441.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1487, allocations: 7.953 kB / 441.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1487, allocations: 0 / 441.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.685e-05/0.1488, allocations: 33.69 kB / 441.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1488, allocations: 0 / 441.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1488, allocations: 0 / 441.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1488, allocations: 0 / 441.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.1488, allocations: 0 / 441.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.149, allocations: 149.7 kB / 441.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/0.149, allocations: 22.52 kB / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.306e-05/0.1491, allocations: 8.812 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.1491, allocations: 0 / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.326e-05/0.1491, allocations: 64.34 kB / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1492, allocations: 0 / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001739/0.1493, allocations: 71.25 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1494, allocations: 77.11 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.558e-05/0.1494, allocations: 93.98 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1495, allocations: 25.7 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.1495, allocations: 80.14 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1495, allocations: 0 / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.1495, allocations: 0 / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1497, allocations: 318.8 kB / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-06/0.1497, allocations: 0 / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.1497, allocations: 4 kB / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.1497, allocations: 33.77 kB / 442.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1497, allocations: 3.938 kB / 442.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.906e-05/0.1498, allocations: 55.41 kB / 442.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.1498, allocations: 41.64 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1498, allocations: 0 / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1499, allocations: 0 / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.1499, allocations: 3.938 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1499, allocations: 0 / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.1499, allocations: 0 / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1499, allocations: 4 kB / 442.3 MB, free: 12.79 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.608e-05/0.15, allocations: 135.6 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.15, allocations: 4 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.217e-05/0.15, allocations: 11.02 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1501, allocations: 4 kB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1501, allocations: 0 / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1501, allocations: 3.984 kB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.875e-05/0.1502, allocations: 141.7 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1502, allocations: 0 / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1502, allocations: 0 / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1502, allocations: 8 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.1502, allocations: 0 / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1502, allocations: 3.953 kB / 442.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1502, allocations: 0 / 442.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.865e-05/0.1503, allocations: 90.83 kB / 442.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.1504, allocations: 85.03 kB / 442.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1504, allocations: 4 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-06/0.1504, allocations: 0 / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.1504, allocations: 11.97 kB / 442.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1504, allocations: 4 kB / 442.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.743e-05/0.1505, allocations: 75.28 kB / 442.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1505, allocations: 0 / 442.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1507, allocations: 67.94 kB / 442.9 MB, free: 12.05 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.0007382/0.1515, allocations: 368.2 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.573e-05/0.1516, allocations: 55.41 kB / 443.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1516, allocations: 0 / 443.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.1516, allocations: 59.39 kB / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.1518, allocations: 3.938 kB / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.152, allocations: 82.89 kB / 443.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1523, allocations: 0.677 MB / 444.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.743e-06/0.1523, allocations: 3.938 kB / 444.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.1523, allocations: 11.44 kB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1523, allocations: 0 / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of Templates: time 0.004399/0.1567, allocations: 1.818 MB / 446 MB, free: 8.91 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: