Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 176.8 kB / 16.41 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.6 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00075/0.0007498, allocations: 91.84 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4359/0.4359, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003913, allocations: 16 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0005666/0.1203, allocations: 212.5 kB / 490.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.1223, allocations: 1.211 MB / 491.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.203e-05/0.1223, allocations: 3.938 kB / 491.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.1223, allocations: 0 / 491.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.1224, allocations: 3.938 kB / 491.6 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.1234, allocations: 447 kB / 492.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.048e-05/0.1234, allocations: 3.984 kB / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.1235, allocations: 0 / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.696e-05/0.1235, allocations: 0 / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.824e-05/0.1235, allocations: 3.938 kB / 492.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-06/0.1235, allocations: 8 kB / 492.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.1262, allocations: 1.873 MB / 494 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-06/0.1262, allocations: 4 kB / 494 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.1263, allocations: 25.7 kB / 494 MB, free: 7.438 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.1265, allocations: 111.8 kB / 494.1 MB, free: 7.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1265, allocations: 4 kB / 494.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1265, allocations: 0 / 494.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1265, allocations: 0 / 494.1 MB, free: 7.324 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.0003434/0.1268, allocations: 376.7 kB / 494.5 MB, free: 6.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1269, allocations: 8.031 kB / 494.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.1269, allocations: 7.984 kB / 494.5 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.836e-05/0.127, allocations: 159.1 kB / 494.7 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.127, allocations: 3.953 kB / 494.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.1271, allocations: 3.984 kB / 494.7 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.86e-05/0.1271, allocations: 33.7 kB / 494.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1272, allocations: 0 / 494.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1272, allocations: 3.938 kB / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1272, allocations: 0 / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.1272, allocations: 0 / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.1273, allocations: 157.6 kB / 494.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.331e-05/0.1274, allocations: 14.58 kB / 494.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.1274, allocations: 8.812 kB / 494.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.1274, allocations: 8.094 kB / 494.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.1275, allocations: 56.27 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1275, allocations: 0 / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001543/0.1276, allocations: 75.22 kB / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.1277, allocations: 81.11 kB / 495.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.715e-05/0.1277, allocations: 89.86 kB / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1278, allocations: 25.7 kB / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.1278, allocations: 84.27 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.1278, allocations: 0 / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.1278, allocations: 4 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1279, allocations: 314.8 kB / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-06/0.1279, allocations: 0 / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-06/0.128, allocations: 0 / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.128, allocations: 33.69 kB / 495.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.128, allocations: 0 / 495.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.22e-05/0.1281, allocations: 63.44 kB / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.1281, allocations: 41.66 kB / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1281, allocations: 0 / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.1281, allocations: 0 / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.1281, allocations: 0 / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1281, allocations: 0 / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.1282, allocations: 4 kB / 495.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1282, allocations: 7.984 kB / 495.7 MB, free: 5.438 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 8.473e-05/0.1283, allocations: 135.5 kB / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-06/0.1283, allocations: 0 / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.243e-05/0.1283, allocations: 15.08 kB / 495.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1283, allocations: 0 / 495.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1283, allocations: 0 / 495.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.1283, allocations: 0 / 495.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.977e-05/0.1284, allocations: 145.7 kB / 496 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1284, allocations: 0 / 496 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1284, allocations: 0 / 496 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1284, allocations: 4 kB / 496 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1284, allocations: 7.938 kB / 496 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1284, allocations: 3.953 kB / 496 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1285, allocations: 0 / 496 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.412e-05/0.1286, allocations: 98.77 kB / 496.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.1286, allocations: 77.11 kB / 496.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.1286, allocations: 0 / 496.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/0.1286, allocations: 0 / 496.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.1286, allocations: 3.953 kB / 496.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.1286, allocations: 4 kB / 496.2 MB, free: 4.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.463e-05/0.1287, allocations: 75.31 kB / 496.3 MB, free: 4.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1287, allocations: 4 kB / 496.3 MB, free: 4.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.129, allocations: 71.98 kB / 496.4 MB, free: 4.695 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.0006713/0.1296, allocations: 396.4 kB / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.202e-05/0.1297, allocations: 55.41 kB / 496.8 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1297, allocations: 0 / 496.8 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.1298, allocations: 63.33 kB / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.1299, allocations: 3.594 kB / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001779/0.1301, allocations: 104.6 kB / 497 MB, free: 4.059 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.1303, allocations: 0.677 MB / 497.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.394e-05/0.1304, allocations: 11.44 kB / 497.7 MB, free: 3.344 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1304, allocations: 0 / 497.7 MB, free: 3.344 MB / 378.7 MB Notification: Performance of Templates: time 0.003288/0.1337, allocations: 1.985 MB / 499.7 MB, free: 1.355 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe 2>&1)