Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.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.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00084/0.0008401, allocations: 171.9 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.146/1.146, allocations: 205 MB / 221.9 MB, free: 9.152 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.0006932/0.0006932, allocations: 90.42 kB / 269.9 MB, free: 8.676 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.6044/0.6044, allocations: 90.5 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002705, allocations: 8.219 kB / 484.9 MB, free: 7.195 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2306, allocations: 65.8 MB / 0.5378 GB, free: 34.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.TanValve): time 0.3545/0.5852, allocations: 169.6 MB / 0.7034 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01084/0.5961, allocations: 10.97 MB / 0.7141 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000992/0.5971, allocations: 24.25 kB / 0.7141 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.5986, allocations: 0.7103 MB / 0.7148 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.6014, allocations: 1.529 MB / 0.7163 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.6034, allocations: 0.9593 MB / 0.7173 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002264/0.6056, allocations: 3.325 MB / 0.7205 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.6061, allocations: 404.4 kB / 0.7209 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.6072, allocations: 0.8571 MB / 0.7217 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.6083, allocations: 1.275 MB / 0.723 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.6084, allocations: 64.5 kB / 0.723 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.6114, allocations: 1.967 MB / 0.7249 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.6116, allocations: 263.4 kB / 0.7252 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004866/0.6121, allocations: 0.6773 MB / 0.7259 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.6143, allocations: 2.408 MB / 0.7282 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6143, allocations: 0 / 0.7282 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6143, allocations: 0 / 0.7282 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.6143, allocations: 3.188 kB / 0.7282 GB, free: 0.5469 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002717/0.6171, allocations: 1.661 MB / 0.7298 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.6171, allocations: 8.719 kB / 0.7298 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.6174, allocations: 150.3 kB / 0.73 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007858/0.6182, allocations: 0.7267 MB / 0.7307 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.6182, allocations: 92.97 kB / 0.7308 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.6184, allocations: 119.7 kB / 0.7309 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.6203, allocations: 1.413 MB / 0.7323 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.6203, allocations: 0 / 0.7323 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.559e-05/0.6204, allocations: 46.14 kB / 0.7323 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.6204, allocations: 35.88 kB / 0.7324 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.6227, allocations: 1.693 MB / 0.734 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005633/0.6284, allocations: 6.305 MB / 0.7402 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.6305, allocations: 1.478 MB / 0.7416 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/0.6315, allocations: 0.7509 MB / 0.7423 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004151/0.6357, allocations: 4.112 MB / 0.7464 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.6368, allocations: 0.7797 MB / 0.7471 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=134): time 2.995e-06/0.6368, allocations: 0 / 0.7471 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135): time 0.006596/0.6434, allocations: 4.125 MB / 0.7512 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.6435, allocations: 67.19 kB / 0.7512 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.644, allocations: 0.5472 MB / 0.7518 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/0.6441, allocations: 50.8 kB / 0.7518 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.6444, allocations: 469.5 kB / 0.7522 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.6447, allocations: 462.2 kB / 0.7527 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.6447, allocations: 19.5 kB / 0.7527 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6449, allocations: 401.2 kB / 0.7531 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009105/0.6458, allocations: 0.5519 MB / 0.7536 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.6468, allocations: 0.668 MB / 0.7543 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.6491, allocations: 1.331 MB / 0.7556 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6491, allocations: 0 / 0.7556 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002735/0.6518, allocations: 1.661 MB / 0.7572 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.6519, allocations: 33.77 kB / 0.7572 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.6519, allocations: 0 / 0.7572 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/0.6523, allocations: 163.9 kB / 0.7574 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008597/0.6532, allocations: 249.4 kB / 0.7576 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/0.6566, allocations: 2.541 MB / 0.7601 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007067/0.6573, allocations: 104.2 kB / 0.7602 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.6574, allocations: 52.95 kB / 0.7603 GB, free: 0.6641 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 3 * 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 {(3,11,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004276/0.6578, allocations: 282.3 kB / 0.7605 GB, free: 464 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.658, allocations: 98.31 kB / 0.7606 GB, free: 412 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/0.6619, allocations: 2.167 MB / 0.7627 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/0.6619, allocations: 12.05 kB / 0.7628 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.662, allocations: 3.938 kB / 0.7628 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.6622, allocations: 171.7 kB / 0.7629 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.6623, allocations: 28 kB / 0.7629 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.6629, allocations: 103.8 kB / 0.763 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.6631, allocations: 125.1 kB / 0.7632 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003456/0.6666, allocations: 1.939 MB / 0.7651 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004004/0.6706, allocations: 2.78 MB / 0.7678 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001142/0.6718, allocations: 0.8035 MB / 0.7686 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003796/0.6722, allocations: 383.1 kB / 0.7689 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of Backend: time 4.21e-07/0.6722, allocations: 4 kB / 0.7689 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003253/0.6754, allocations: 1.845 MB / 0.7707 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of SimCode: time 0.003314/0.6788, allocations: 3.071 MB / 0.7737 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of Templates: time 0.03595/0.7147, allocations: 27.27 MB / 0.8004 GB, free: 8.098 MB / 0.5573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1)