Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.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/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream") translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.001349, allocations: 171.6 kB / 16.11 MB, free: 5.688 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.254/1.254, allocations: 205 MB / 221.9 MB, free: 9.133 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.0007334/0.0007338, allocations: 96.83 kB / 269.9 MB, free: 8.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6741/0.6741, allocations: 90.51 MB / 408.3 MB, free: 3.934 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003068, allocations: 8 kB / 484.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2571, allocations: 65.81 MB / 0.5378 GB, free: 34.87 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.496/0.7532, allocations: 300.9 MB / 0.8316 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03439/0.7877, allocations: 32.84 MB / 0.8636 GB, free: 5.781 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.7889, allocations: 19.94 kB / 0.8637 GB, free: 5.762 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.7918, allocations: 1.292 MB / 0.8649 GB, free: 4.465 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.8023, allocations: 4.053 MB / 0.8689 GB, free: 408 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006775/0.8091, allocations: 2.685 MB / 0.8715 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002723/0.8118, allocations: 3.119 MB / 0.8745 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006061/0.8125, allocations: 0.5219 MB / 0.8751 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.8143, allocations: 1.101 MB / 0.8761 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008564/0.8152, allocations: 0.852 MB / 0.877 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-05/0.8153, allocations: 44 kB / 0.877 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01838/0.8337, allocations: 11.92 MB / 0.8886 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000499/0.8342, allocations: 378.6 kB / 0.889 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008368/0.8351, allocations: 0.6451 MB / 0.8896 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.8498, allocations: 6.651 MB / 0.8961 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8499, allocations: 0 / 0.8961 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8499, allocations: 0 / 0.8961 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.8499, allocations: 0 / 0.8961 GB, free: 4.418 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.005156/0.8551, allocations: 2.496 MB / 0.8986 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.8551, allocations: 8.031 kB / 0.8986 GB, free: 1.859 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.8554, allocations: 154.2 kB / 0.8987 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009152/0.8563, allocations: 0.7082 MB / 0.8994 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.106e-05/0.8564, allocations: 86.31 kB / 0.8995 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.8566, allocations: 119.9 kB / 0.8996 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.8591, allocations: 1.804 MB / 0.9014 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.8591, allocations: 0 / 0.9014 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.8592, allocations: 51.98 kB / 0.9014 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/0.8593, allocations: 110.3 kB / 0.9015 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.8618, allocations: 1.907 MB / 0.9034 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00773/0.8696, allocations: 8.076 MB / 0.9113 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.871, allocations: 0.9494 MB / 0.9122 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009194/0.8719, allocations: 0.73 MB / 0.9129 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00295/0.8749, allocations: 4.342 MB / 0.9172 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.8749, allocations: 43.56 kB / 0.9172 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=105): time 3.287e-06/0.8749, allocations: 0 / 0.9172 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107): time 0.006598/0.8815, allocations: 3.993 MB / 0.9211 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.8816, allocations: 64.41 kB / 0.9212 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.8821, allocations: 0.4914 MB / 0.9216 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/0.8822, allocations: 49.7 kB / 0.9217 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.8825, allocations: 0.4921 MB / 0.9222 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.8828, allocations: 362.7 kB / 0.9225 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.8829, allocations: 12 kB / 0.9225 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.8831, allocations: 390.8 kB / 0.9229 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/0.8839, allocations: 0.533 MB / 0.9234 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008386/0.8847, allocations: 0.6115 MB / 0.924 GB, free: 5.824 MB / 0.6355 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system (0.0 = $START.thermalConduction.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.8866, allocations: 1.316 MB / 0.9253 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8866, allocations: 3.984 kB / 0.9253 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002415/0.889, allocations: 1.563 MB / 0.9268 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.8891, allocations: 8 kB / 0.9268 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.8891, allocations: 0 / 0.9268 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004904/0.8896, allocations: 167.8 kB / 0.927 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.8902, allocations: 203.7 kB / 0.9272 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.211/1.101, allocations: 2.462 MB / 0.9296 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000869/1.102, allocations: 91.88 kB / 0.9297 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/1.102, allocations: 96.25 kB / 0.9298 GB, free: 274.8 MB / 0.6355 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (96): * Single equations (assignments): 89 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006051/1.103, allocations: 315.6 kB / 0.9301 GB, free: 274.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/1.103, allocations: 81.03 kB / 0.9302 GB, free: 274.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/1.107, allocations: 1.985 MB / 0.9321 GB, free: 274.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/1.107, allocations: 6.453 kB / 0.9321 GB, free: 274.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.107, allocations: 4.812 kB / 0.9321 GB, free: 274.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/1.107, allocations: 153.1 kB / 0.9323 GB, free: 274.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/1.107, allocations: 23.72 kB / 0.9323 GB, free: 274.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/1.108, allocations: 94.45 kB / 0.9324 GB, free: 274.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/1.108, allocations: 110.9 kB / 0.9325 GB, free: 274.4 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003724/1.112, allocations: 1.751 MB / 0.9342 GB, free: 273.7 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003842/1.116, allocations: 2.548 MB / 0.9367 GB, free: 272.6 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009174/1.117, allocations: 0.7106 MB / 0.9374 GB, free: 272.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003847/1.117, allocations: 352.7 kB / 0.9377 GB, free: 272.1 MB / 0.6355 GB Notification: Performance of Backend: time 5.51e-07/1.117, allocations: 1.375 kB / 0.9377 GB, free: 272.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008015/1.125, allocations: 3.542 MB / 0.9412 GB, free: 271.4 MB / 0.6355 GB Notification: Performance of SimCode: time 0.003466/1.129, allocations: 3.303 MB / 0.9444 GB, free: 269.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.05806/1.187, allocations: 56 MB / 0.9991 GB, free: 220.6 MB / 0.6355 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe 2>&1)