Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008458/0.0008458, allocations: 171.3 kB / 16.11 MB, free: 5.66 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.148/1.148, allocations: 205 MB / 221.9 MB, free: 9.137 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.0007221/0.0007222, allocations: 98.08 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.5823/0.5823, allocations: 90.51 MB / 408.3 MB, free: 3.938 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002713, allocations: 8.219 kB / 484.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2232, allocations: 65.81 MB / 0.5378 GB, free: 34.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.02383/0.2471, allocations: 36.27 MB / 0.5732 GB, free: 2.605 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.2597, allocations: 14.5 MB / 0.5873 GB, free: 4.062 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:14:3-15:61:writable] Warning: Parameter d_valve has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:20:3-21:88:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:24:3-25:92:writable] Warning: Parameter m_flow_ref_set has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:20:3-21:88:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.0006426/0.2604, allocations: 19.88 kB / 0.5874 GB, free: 4.043 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.2618, allocations: 0.86 MB / 0.5882 GB, free: 3.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.2638, allocations: 1.096 MB / 0.5893 GB, free: 2.078 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.2656, allocations: 0.8907 MB / 0.5901 GB, free: 1.188 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.2671, allocations: 1.934 MB / 0.592 GB, free: 15.24 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.2674, allocations: 262.3 kB / 0.5923 GB, free: 14.98 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008081/0.2682, allocations: 0.755 MB / 0.593 GB, free: 14.22 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005012/0.2687, allocations: 0.583 MB / 0.5936 GB, free: 13.64 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.259e-05/0.2689, allocations: 40 kB / 0.5936 GB, free: 13.6 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.2704, allocations: 0.8505 MB / 0.5945 GB, free: 12.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.2706, allocations: 246.8 kB / 0.5947 GB, free: 12.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.271, allocations: 0.5823 MB / 0.5953 GB, free: 11.92 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.2728, allocations: 1.818 MB / 0.597 GB, free: 10.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2728, allocations: 0 / 0.597 GB, free: 10.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2729, allocations: 0 / 0.597 GB, free: 10.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2729, allocations: 0 / 0.597 GB, free: 10.09 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002143/0.275, allocations: 1.534 MB / 0.5985 GB, free: 8.504 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2751, allocations: 8.031 kB / 0.5985 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.2753, allocations: 155.1 kB / 0.5987 GB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.2762, allocations: 0.8518 MB / 0.5995 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.2763, allocations: 62.38 kB / 0.5996 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2764, allocations: 87.94 kB / 0.5997 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.2776, allocations: 0.8077 MB / 0.6005 GB, free: 6.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.2776, allocations: 0 / 0.6005 GB, free: 6.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.2777, allocations: 32 kB / 0.6005 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.2777, allocations: 20 kB / 0.6005 GB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.279, allocations: 0.8433 MB / 0.6013 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003793/0.2828, allocations: 3.626 MB / 0.6049 GB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.2839, allocations: 0.76 MB / 0.6056 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.2845, allocations: 379.7 kB / 0.606 GB, free: 472 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002673/0.2871, allocations: 3.433 MB / 0.6093 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.2872, allocations: 39.22 kB / 0.6094 GB, free: 12.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=77): time 2.124e-06/0.2872, allocations: 4 kB / 0.6094 GB, free: 12.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=77): time 0.002337/0.2895, allocations: 1.277 MB / 0.6106 GB, free: 11.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.2896, allocations: 68.05 kB / 0.6107 GB, free: 11.02 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23:88:writable] Warning: Parameter slideValveInverse.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:20:3-21:88:writable] Warning: Parameter slideValveInverse.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:24:3-25:92:writable] Warning: Parameter slideValve.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23:88:writable] Warning: Parameter slideValve.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:20:3-21:88:writable] Warning: Parameter slideValve.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:14:3-15:61:writable] Warning: Parameter slideValve.d_valve has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.2907, allocations: 1.028 MB / 0.6117 GB, free: 9.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.2908, allocations: 37.7 kB / 0.6117 GB, free: 9.938 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.2911, allocations: 0.5041 MB / 0.6122 GB, free: 9.426 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.2912, allocations: 260.1 kB / 0.6125 GB, free: 9.168 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.2913, allocations: 16 kB / 0.6125 GB, free: 9.152 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.2914, allocations: 337.9 kB / 0.6128 GB, free: 8.816 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.2918, allocations: 253.9 kB / 0.613 GB, free: 8.566 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.2924, allocations: 355 kB / 0.6134 GB, free: 8.191 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.2934, allocations: 0.6349 MB / 0.614 GB, free: 7.527 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2934, allocations: 0 / 0.614 GB, free: 7.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001554/0.295, allocations: 0.8981 MB / 0.6149 GB, free: 6.617 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.295, allocations: 11.94 kB / 0.6149 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.295, allocations: 0 / 0.6149 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.2954, allocations: 105.6 kB / 0.615 GB, free: 6.496 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.2959, allocations: 151.9 kB / 0.6151 GB, free: 6.348 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.2982, allocations: 2.991 MB / 0.618 GB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.2987, allocations: 83.31 kB / 0.6181 GB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.2988, allocations: 35.98 kB / 0.6182 GB, free: 2.977 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003553/0.2991, allocations: 313.5 kB / 0.6185 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.2993, allocations: 122.5 kB / 0.6186 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.3012, allocations: 1.051 MB / 0.6196 GB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.3012, allocations: 3.984 kB / 0.6196 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3012, allocations: 0 / 0.6196 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.3016, allocations: 323.2 kB / 0.6199 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.3017, allocations: 27.88 kB / 0.6199 GB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/0.3021, allocations: 51.81 kB / 0.62 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3023, allocations: 60.91 kB / 0.6201 GB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001807/0.3041, allocations: 0.9443 MB / 0.621 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001896/0.306, allocations: 1.345 MB / 0.6223 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005096/0.3065, allocations: 347.8 kB / 0.6226 GB, free: 14.35 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007531/0.3073, allocations: 0.7079 MB / 0.6233 GB, free: 13.64 MB / 458.7 MB Notification: Performance of Backend: time 3.91e-07/0.3073, allocations: 0 / 0.6233 GB, free: 13.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002818/0.3101, allocations: 1.609 MB / 0.6249 GB, free: 12.16 MB / 458.7 MB Notification: Performance of SimCode: time 0.003334/0.3134, allocations: 3.108 MB / 0.6279 GB, free: 9.004 MB / 458.7 MB Notification: Performance of Templates: time 0.0276/0.3411, allocations: 20.74 MB / 0.6482 GB, free: 4.336 MB / 474.7 MB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1)