Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.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.FluxTubes.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00755/0.00755, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.00128/0.00128, allocations: 194.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.4377/0.4377, allocations: 39.94 MB / 309.8 MB, free: 9.41 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.001681/0.001681, allocations: 67.91 kB / 435.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.445, allocations: 56.87 MB / 492.6 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003787/0.4488, allocations: 1.869 MB / 494.5 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.4501, allocations: 0.6124 MB / 495.1 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.4503, allocations: 2 kB / 495.1 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.4505, allocations: 38.11 kB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.4506, allocations: 33.95 kB / 495.2 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.4509, allocations: 45.78 kB / 495.2 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.4512, allocations: 151.8 kB / 495.4 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.4515, allocations: 65.3 kB / 495.4 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.4517, allocations: 62.52 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.4519, allocations: 65.41 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.4519, allocations: 14.19 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.135e-05/0.452, allocations: 12.59 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.452, allocations: 25.14 kB / 495.6 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.4521, allocations: 73.06 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.4526, allocations: 161.5 kB / 495.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4526, allocations: 0.7031 kB / 495.9 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4526, allocations: 5.094 kB / 495.9 MB, free: 17.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.4526, allocations: 0 / 495.9 MB, free: 17.38 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.000809/0.4534, allocations: 440.5 kB / 496.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.4535, allocations: 12.8 kB / 496.3 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.4536, allocations: 20.19 kB / 496.3 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.4539, allocations: 201.7 kB / 496.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.454, allocations: 9.719 kB / 496.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.454, allocations: 18 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.4544, allocations: 144.2 kB / 496.7 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4545, allocations: 0 / 496.7 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.4545, allocations: 9.391 kB / 496.7 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4545, allocations: 3.781 kB / 496.7 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.4549, allocations: 106.6 kB / 496.8 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.4562, allocations: 0.6052 MB / 497.4 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.4565, allocations: 68.44 kB / 497.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.4566, allocations: 36.88 kB / 497.5 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.4567, allocations: 4 kB / 497.5 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.4567, allocations: 32.61 kB / 497.5 MB, free: 16.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.4567, allocations: 0 / 497.5 MB, free: 16.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004701/0.4572, allocations: 107 kB / 497.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.4572, allocations: 53.53 kB / 497.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.4574, allocations: 157 kB / 497.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4574, allocations: 29.7 kB / 497.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/0.4575, allocations: 134.7 kB / 498 MB, free: 15.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.4575, allocations: 16.83 kB / 498 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.4576, allocations: 25.69 kB / 498.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.4577, allocations: 320.4 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.4578, allocations: 37.75 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.458, allocations: 64.53 kB / 498.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.4582, allocations: 89.77 kB / 498.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4582, allocations: 4 kB / 498.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003242/0.4586, allocations: 129.2 kB / 498.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4586, allocations: 6.281 kB / 498.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4586, allocations: 1.953 kB / 498.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.4586, allocations: 1.531 kB / 498.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.4588, allocations: 28.42 kB / 498.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.4588, allocations: 2.5 kB / 498.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-05/0.4589, allocations: 21.39 kB / 498.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.4589, allocations: 3.906 kB / 498.8 MB, free: 15.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.4591, allocations: 123.8 kB / 498.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.4591, allocations: 8.609 kB / 498.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.4591, allocations: 12.66 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4592, allocations: 7.875 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.4592, allocations: 2.5 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4592, allocations: 0 / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.4595, allocations: 212.4 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4595, allocations: 0 / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.814e-05/0.4596, allocations: 16.3 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4596, allocations: 1.406 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4596, allocations: 0.7031 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4596, allocations: 3.938 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4596, allocations: 1.375 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.4599, allocations: 190.8 kB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.46, allocations: 84.25 kB / 499.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.46, allocations: 1.641 kB / 499.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.666e-05/0.4601, allocations: 9.594 kB / 499.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.4602, allocations: 8.375 kB / 499.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.4602, allocations: 2.141 kB / 499.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.4604, allocations: 108.4 kB / 499.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4604, allocations: 0 / 499.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.4606, allocations: 36.14 kB / 499.6 MB, free: 14.35 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001278/0.4608, allocations: 99.34 kB / 499.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.4611, allocations: 69.75 kB / 499.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4611, allocations: 0 / 499.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.4612, allocations: 26.94 kB / 499.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4616, allocations: 13.16 kB / 499.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/0.4622, allocations: 279.6 kB / 0.4883 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.4625, allocations: 0.7038 MB / 0.489 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.81e-05/0.4625, allocations: 10.98 kB / 0.489 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.4626, allocations: 15.59 kB / 0.489 GB, free: 13.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4626, allocations: 0 / 0.489 GB, free: 13.31 MB / 382.1 MB Notification: Performance of Templates: time 0.004164/0.4667, allocations: 0.7228 MB / 0.4897 GB, free: 13.21 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe 2>&1)