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.001401/0.001402, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.217/1.217, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0006944/0.0006945, allocations: 93.53 kB / 271.2 MB, free: 8.25 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.2781/0.2781, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 12 kB / 432 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.08939, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0004772/0.08991, allocations: 216.5 kB / 491 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.09174, allocations: 1.207 MB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-06/0.09176, allocations: 0 / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.285e-06/0.09178, allocations: 4 kB / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.09179, allocations: 0 / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.09272, allocations: 439 kB / 492.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.674e-05/0.09276, allocations: 4 kB / 492.7 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.0928, allocations: 0 / 492.7 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.504e-05/0.09282, allocations: 3.938 kB / 492.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.189e-05/0.09285, allocations: 7.969 kB / 492.7 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-06/0.09286, allocations: 0 / 492.7 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/0.107, allocations: 2.294 MB / 495 MB, free: 6.789 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.218e-06/0.1071, allocations: 0 / 495 MB, free: 6.789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.1071, allocations: 29.69 kB / 495 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1073, allocations: 115.8 kB / 495.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1073, allocations: 4 kB / 495.1 MB, free: 6.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1073, allocations: 0 / 495.1 MB, free: 6.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1073, allocations: 0 / 495.1 MB, free: 6.637 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.0003004/0.1076, allocations: 373.3 kB / 495.5 MB, free: 6.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1077, allocations: 12.03 kB / 495.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.1077, allocations: 0.9375 kB / 495.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.42e-05/0.1078, allocations: 164.4 kB / 495.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1078, allocations: 384 / 495.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.1078, allocations: 384 / 495.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.486e-05/0.1079, allocations: 45.77 kB / 495.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.1079, allocations: 0 / 495.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-06/0.1079, allocations: 0 / 495.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.1079, allocations: 0 / 495.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.108, allocations: 8 kB / 495.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.1081, allocations: 145.7 kB / 495.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.38e-05/0.1081, allocations: 14.58 kB / 495.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.1081, allocations: 12.89 kB / 495.9 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.1082, allocations: 4 kB / 495.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.1082, allocations: 68.14 kB / 496 MB, free: 5.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.184e-06/0.1082, allocations: 3.984 kB / 496 MB, free: 5.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.1084, allocations: 67.3 kB / 496 MB, free: 5.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1084, allocations: 81.05 kB / 496.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.651e-05/0.1084, allocations: 89.86 kB / 496.2 MB, free: 5.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1085, allocations: 25.7 kB / 496.2 MB, free: 5.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.046e-05/0.1085, allocations: 84.27 kB / 496.3 MB, free: 5.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.1085, allocations: 8 kB / 496.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.1085, allocations: 0 / 496.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.1086, allocations: 310.8 kB / 496.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.1086, allocations: 0 / 496.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.1086, allocations: 0 / 496.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.166e-05/0.1087, allocations: 64.2 kB / 496.7 MB, free: 4.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1087, allocations: 0 / 496.7 MB, free: 4.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.362e-05/0.1088, allocations: 71.45 kB / 496.7 MB, free: 4.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.1088, allocations: 37.55 kB / 496.8 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1088, allocations: 4 kB / 496.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.1088, allocations: 0 / 496.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.1088, allocations: 0 / 496.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.1088, allocations: 0 / 496.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.1088, allocations: 0 / 496.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.1089, allocations: 0 / 496.8 MB, free: 4.711 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 7.174e-05/0.1089, allocations: 139.5 kB / 496.9 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.1089, allocations: 3.938 kB / 496.9 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-06/0.109, allocations: 7.156 kB / 496.9 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.109, allocations: 0 / 496.9 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.109, allocations: 0 / 496.9 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.109, allocations: 4 kB / 496.9 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.082e-05/0.1091, allocations: 145.7 kB / 497.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1091, allocations: 0 / 497.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1091, allocations: 3.938 kB / 497.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1091, allocations: 3.938 kB / 497.1 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.1091, allocations: 0 / 497.1 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1091, allocations: 4 kB / 497.1 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1091, allocations: 7.938 kB / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.1092, allocations: 86.83 kB / 497.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.1093, allocations: 81.05 kB / 497.3 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.1093, allocations: 4 kB / 497.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.1093, allocations: 4 kB / 497.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.1093, allocations: 0 / 497.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1093, allocations: 0 / 497.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.335e-05/0.1093, allocations: 83.34 kB / 497.4 MB, free: 4.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1093, allocations: 0 / 497.4 MB, free: 4.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.1096, allocations: 71.98 kB / 497.4 MB, free: 3.965 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.0006486/0.1103, allocations: 385.8 kB / 497.8 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.096e-05/0.1104, allocations: 71.28 kB / 497.9 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1104, allocations: 0 / 497.9 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.1104, allocations: 55.39 kB / 497.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.1105, allocations: 4 kB / 497.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001429/0.1107, allocations: 104.5 kB / 498 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.1109, allocations: 0.6731 MB / 498.7 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.1109, allocations: 7.438 kB / 498.7 MB, free: 2.582 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1109, allocations: 0 / 498.7 MB, free: 2.582 MB / 378.7 MB Notification: Performance of Templates: time 0.00321/0.1141, allocations: 1.993 MB / 0.489 GB, free: 0.5859 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)