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.00226/0.002265, allocations: 187.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001641/0.001641, allocations: 98.86 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2928/0.2928, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 12 kB / 431.3 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 58.85 MB / 490.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0006747/0.1216, allocations: 212.7 kB / 490.4 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.1249, allocations: 1.231 MB / 491.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.125, allocations: 0 / 491.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.125, allocations: 0 / 491.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.125, allocations: 0 / 491.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.127, allocations: 434.9 kB / 492.1 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.743e-05/0.1271, allocations: 3.984 kB / 492.1 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.1271, allocations: 4 kB / 492.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.1272, allocations: 4 kB / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.733e-05/0.1272, allocations: 0 / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.144e-06/0.1272, allocations: 3.938 kB / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.129, allocations: 0.6477 MB / 492.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-06/0.1291, allocations: 0 / 492.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.1291, allocations: 25.7 kB / 492.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009777/0.1301, allocations: 355.4 kB / 493.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1302, allocations: 4 kB / 493.1 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1302, allocations: 0 / 493.1 MB, free: 6.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1302, allocations: 0 / 493.1 MB, free: 6.445 MB / 330.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.0006428/0.1308, allocations: 465 kB / 493.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1309, allocations: 8.031 kB / 493.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1309, allocations: 4 kB / 493.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1311, allocations: 167 kB / 493.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1311, allocations: 0 / 493.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1311, allocations: 0 / 493.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.304e-05/0.1312, allocations: 33.7 kB / 493.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1312, allocations: 0 / 493.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1313, allocations: 0 / 493.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1313, allocations: 3.938 kB / 493.8 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.1313, allocations: 0 / 493.8 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.1315, allocations: 153.7 kB / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.676e-05/0.1315, allocations: 18.56 kB / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.1315, allocations: 0 / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.1316, allocations: 60.27 kB / 494 MB, free: 5.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.1316, allocations: 0 / 494 MB, free: 5.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002033/0.1318, allocations: 67.41 kB / 494.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.1319, allocations: 89.03 kB / 494.2 MB, free: 5.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.46e-05/0.132, allocations: 89.86 kB / 494.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.132, allocations: 25.7 kB / 494.3 MB, free: 5.066 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.1321, allocations: 150.6 kB / 494.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1321, allocations: 4.125 kB / 494.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.1321, allocations: 0 / 494.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1322, allocations: 310.8 kB / 494.7 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.1323, allocations: 4 kB / 494.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.1323, allocations: 4 kB / 494.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.1323, allocations: 25.7 kB / 494.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1323, allocations: 0 / 494.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.574e-05/0.1324, allocations: 71.28 kB / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.1325, allocations: 33.23 kB / 494.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1325, allocations: 4 kB / 494.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1325, allocations: 4 kB / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.844e-06/0.1325, allocations: 0 / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1326, allocations: 0 / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.1326, allocations: 0 / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.1326, allocations: 0 / 494.9 MB, free: 4.438 MB / 330.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 9.993e-05/0.1327, allocations: 143.5 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.1327, allocations: 3.953 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.1328, allocations: 11.11 kB / 495 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1328, allocations: 4 kB / 495 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1328, allocations: 0 / 495 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1328, allocations: 0 / 495 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.1329, allocations: 149.7 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1329, allocations: 0 / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.1329, allocations: 0 / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.133, allocations: 3.953 kB / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.133, allocations: 7.984 kB / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.133, allocations: 0 / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.133, allocations: 4 kB / 495.2 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.1331, allocations: 90.78 kB / 495.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.1332, allocations: 81.09 kB / 495.3 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1332, allocations: 7.953 kB / 495.4 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.28e-05/0.1332, allocations: 0 / 495.4 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.1333, allocations: 0 / 495.4 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1333, allocations: 0 / 495.4 MB, free: 3.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.574e-05/0.1333, allocations: 75.28 kB / 495.4 MB, free: 3.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1333, allocations: 4.031 kB / 495.4 MB, free: 3.754 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008022/0.1341, allocations: 207.9 kB / 495.6 MB, free: 3.551 MB / 330.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.00189/0.136, allocations: 0.6048 MB / 496.2 MB, free: 2.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1362, allocations: 59.41 kB / 496.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1362, allocations: 0 / 496.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.1363, allocations: 59.34 kB / 496.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.1364, allocations: 4.125 kB / 496.4 MB, free: 2.836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.1367, allocations: 104.5 kB / 496.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1369, allocations: 0.677 MB / 497.1 MB, free: 1.996 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.137, allocations: 11.44 kB / 497.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.137, allocations: 0 / 497.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of Templates: time 0.01211/0.1491, allocations: 4.478 MB / 0.4899 GB, free: 13.5 MB / 346.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)