Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000831/0.0008311, 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.157/1.157, allocations: 205 MB / 221.9 MB, free: 9.055 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.0007549/0.0007548, allocations: 102.3 kB / 269.9 MB, free: 8.648 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.583/0.583, allocations: 90.51 MB / 408.3 MB, free: 3.93 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002552, allocations: 8.219 kB / 484.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2216, allocations: 65.82 MB / 0.5378 GB, free: 34.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.02854/0.2502, allocations: 44.69 MB / 0.5814 GB, free: 10.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.2631, allocations: 12.13 MB / 0.5933 GB, free: 13.98 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:17:3-18: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/Undirected/FlowControl/SpecificValveType.mo:23:3-24: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/Undirected/FlowControl/SpecificValveType.mo:25:3-26: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/Undirected/FlowControl/SpecificValveType.mo:27:3-28: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/Undirected/FlowControl/SpecificValveType.mo:23:3-24: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/Undirected/FlowControl/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.2642, allocations: 27.88 kB / 0.5933 GB, free: 13.95 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.2662, allocations: 1.035 MB / 0.5943 GB, free: 12.91 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.2699, allocations: 1.893 MB / 0.5961 GB, free: 11.01 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.2721, allocations: 1.018 MB / 0.5971 GB, free: 9.992 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.2751, allocations: 3.64 MB / 0.6007 GB, free: 6.34 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005003/0.2756, allocations: 411.2 kB / 0.6011 GB, free: 5.906 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.2771, allocations: 1.144 MB / 0.6022 GB, free: 4.758 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009632/0.278, allocations: 1.031 MB / 0.6032 GB, free: 3.723 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.2782, allocations: 64 kB / 0.6033 GB, free: 3.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.2807, allocations: 1.186 MB / 0.6044 GB, free: 2.473 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.281, allocations: 342.4 kB / 0.6048 GB, free: 2.137 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006712/0.2816, allocations: 0.8466 MB / 0.6056 GB, free: 1.285 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003155/0.2848, allocations: 2.702 MB / 0.6082 GB, free: 14.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2848, allocations: 4 kB / 0.6082 GB, free: 14.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2848, allocations: 0 / 0.6082 GB, free: 14.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.2849, allocations: 0 / 0.6082 GB, free: 14.57 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.003378/0.2882, allocations: 2.003 MB / 0.6102 GB, free: 12.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2883, allocations: 12.03 kB / 0.6102 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.2886, allocations: 210.4 kB / 0.6104 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.2899, allocations: 1.052 MB / 0.6114 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/0.2899, allocations: 106.8 kB / 0.6115 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.2901, allocations: 128 kB / 0.6116 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.2923, allocations: 1.394 MB / 0.613 GB, free: 9.535 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.2923, allocations: 4 kB / 0.613 GB, free: 9.531 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.2924, allocations: 55.94 kB / 0.6131 GB, free: 9.477 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.2924, allocations: 35.94 kB / 0.6131 GB, free: 9.441 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.2949, allocations: 1.623 MB / 0.6147 GB, free: 7.812 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006149/0.3011, allocations: 6.313 MB / 0.6208 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.3033, allocations: 1.54 MB / 0.6223 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.3044, allocations: 0.7492 MB / 0.6231 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004498/0.3089, allocations: 4.345 MB / 0.6273 GB, free: 9.699 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/0.3102, allocations: 0.7628 MB / 0.6281 GB, free: 8.922 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 3.467e-06/0.3102, allocations: 0 / 0.6281 GB, free: 8.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=150): time 0.004246/0.3145, allocations: 2.312 MB / 0.6303 GB, free: 6.562 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.3145, allocations: 68.72 kB / 0.6304 GB, free: 6.484 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:25:3-26: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/Undirected/FlowControl/SpecificValveType.mo:23:3-24: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/Undirected/FlowControl/SpecificValveType.mo:27:3-28: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/Undirected/FlowControl/SpecificValveType.mo:25:3-26: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/Undirected/FlowControl/SpecificValveType.mo:23:3-24: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/Undirected/FlowControl/SpecificValveType.mo:17:3-18: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.00122/0.3157, allocations: 1.12 MB / 0.6315 GB, free: 5.355 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.605e-05/0.3158, allocations: 53.7 kB / 0.6315 GB, free: 5.297 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.3162, allocations: 0.6184 MB / 0.6321 GB, free: 4.668 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.3166, allocations: 0.4927 MB / 0.6326 GB, free: 4.168 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.3167, allocations: 31.94 kB / 0.6326 GB, free: 4.137 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3168, allocations: 365.9 kB / 0.633 GB, free: 3.773 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000957/0.3178, allocations: 0.5349 MB / 0.6335 GB, free: 3.238 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.3189, allocations: 0.6916 MB / 0.6342 GB, free: 2.504 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.321, allocations: 1.323 MB / 0.6355 GB, free: 1.137 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.321, allocations: 3.938 kB / 0.6355 GB, free: 1.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002964/0.324, allocations: 1.694 MB / 0.6371 GB, free: 15.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.3241, allocations: 29.7 kB / 0.6372 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3241, allocations: 7.938 kB / 0.6372 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.3244, allocations: 113.7 kB / 0.6373 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.3254, allocations: 291.6 kB / 0.6376 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.3278, allocations: 3.003 MB / 0.6405 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008172/0.3286, allocations: 154.7 kB / 0.6406 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.3287, allocations: 63.97 kB / 0.6407 GB, free: 11.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (159): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0005134/0.3293, allocations: 369.5 kB / 0.6411 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.3295, allocations: 150.1 kB / 0.6412 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003966/0.3335, allocations: 2.203 MB / 0.6434 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.3335, allocations: 11.95 kB / 0.6434 GB, free: 8.812 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3335, allocations: 0 / 0.6434 GB, free: 8.812 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005778/0.3341, allocations: 478.3 kB / 0.6438 GB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.3343, allocations: 32 kB / 0.6439 GB, free: 8.293 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.3349, allocations: 83.8 kB / 0.6439 GB, free: 8.211 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.3351, allocations: 141.8 kB / 0.6441 GB, free: 8.066 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003352/0.3385, allocations: 1.863 MB / 0.6459 GB, free: 6.195 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004032/0.3425, allocations: 2.688 MB / 0.6485 GB, free: 3.492 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001113/0.3436, allocations: 0.7809 MB / 0.6493 GB, free: 2.711 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008501/0.3445, allocations: 0.7656 MB / 0.65 GB, free: 1.941 MB / 474.7 MB Notification: Performance of Backend: time 4.61e-07/0.3445, allocations: 0 / 0.65 GB, free: 1.941 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003955/0.3485, allocations: 2.321 MB / 0.6523 GB, free: 15.7 MB / 490.7 MB Notification: Performance of SimCode: time 0.004379/0.3529, allocations: 4.004 MB / 0.6562 GB, free: 11.62 MB / 490.7 MB Notification: Performance of Templates: time 0.2104/0.5633, allocations: 31.2 MB / 0.6867 GB, free: 134.3 MB / 0.4948 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1)