Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 95.56 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009969/0.0009974, allocations: 172.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6504/0.6504, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.000274, allocations: 12 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2257, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0257/0.2515, allocations: 16.28 MB / 0.5726 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009239/0.2608, allocations: 4.467 MB / 0.577 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005584/0.2614, allocations: 15.88 kB / 0.577 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007449/0.2622, allocations: 246.6 kB / 0.5772 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.2642, allocations: 0.8218 MB / 0.578 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.2664, allocations: 0.9226 MB / 0.5789 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.2679, allocations: 0.9603 MB / 0.5799 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000544/0.2685, allocations: 415.3 kB / 0.5803 GB, free: 3.504 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007344/0.2692, allocations: 0.5177 MB / 0.5808 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004719/0.2697, allocations: 394.3 kB / 0.5812 GB, free: 2.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.513e-05/0.2698, allocations: 32 kB / 0.5812 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.2709, allocations: 0.6357 MB / 0.5818 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.271, allocations: 127.4 kB / 0.5819 GB, free: 1.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.2712, allocations: 157.3 kB / 0.5821 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008479/0.2721, allocations: 0.7407 MB / 0.5828 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2721, allocations: 0 / 0.5828 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2721, allocations: 0 / 0.5828 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.2721, allocations: 0 / 0.5828 GB, free: 0.9023 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.3016/0.5737, allocations: 0.997 MB / 0.5838 GB, free: 34.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.5738, allocations: 9.578 kB / 0.5838 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002802/0.5741, allocations: 83.94 kB / 0.5839 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/0.5744, allocations: 83.17 kB / 0.5839 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.5757, allocations: 496.2 kB / 0.5844 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/0.5757, allocations: 38.22 kB / 0.5845 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.5759, allocations: 49.38 kB / 0.5845 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.5776, allocations: 0.6348 MB / 0.5851 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.5776, allocations: 1.562 kB / 0.5851 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.5777, allocations: 22.94 kB / 0.5851 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.5778, allocations: 12.03 kB / 0.5852 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.5795, allocations: 0.5133 MB / 0.5857 GB, free: 34.3 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00414/0.5836, allocations: 3.211 MB / 0.5888 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007982/0.5845, allocations: 348.7 kB / 0.5891 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003759/0.5848, allocations: 349.3 kB / 0.5895 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.5849, allocations: 41.22 kB / 0.5895 GB, free: 31.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=38): time 2.445e-06/0.5849, allocations: 0 / 0.5895 GB, free: 31.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=38): time 0.002541/0.5874, allocations: 0.8646 MB / 0.5903 GB, free: 31.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.5875, allocations: 57.69 kB / 0.5904 GB, free: 31.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.5892, allocations: 0.5806 MB / 0.591 GB, free: 30.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/0.5893, allocations: 32.77 kB / 0.591 GB, free: 30.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.5895, allocations: 331.7 kB / 0.5913 GB, free: 30.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.5897, allocations: 134.4 kB / 0.5914 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.5898, allocations: 10.19 kB / 0.5914 GB, free: 30.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.5899, allocations: 373.4 kB / 0.5918 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007926/0.5907, allocations: 220.1 kB / 0.592 GB, free: 30.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.592, allocations: 373.9 kB / 0.5924 GB, free: 29.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007561/0.5928, allocations: 258.3 kB / 0.5926 GB, free: 29.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5928, allocations: 0.7812 kB / 0.5926 GB, free: 29.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002626/0.5954, allocations: 0.7282 MB / 0.5933 GB, free: 29.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006215/0.5961, allocations: 1.752 MB / 0.595 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.5961, allocations: 5.641 kB / 0.595 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.5973, allocations: 153.2 kB / 0.5952 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.5986, allocations: 152.3 kB / 0.5953 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009985/0.5996, allocations: 0.641 MB / 0.596 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.601, allocations: 100 kB / 0.5961 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.6012, allocations: 30.22 kB / 0.5961 GB, free: 26.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.6013, allocations: 6.156 kB / 0.5961 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002037/0.6033, allocations: 0.622 MB / 0.5967 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.6034, allocations: 5.266 kB / 0.5967 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.6034, allocations: 9.188 kB / 0.5967 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/0.6042, allocations: 162.4 kB / 0.5969 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.663e-05/0.6043, allocations: 15.95 kB / 0.5969 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009104/0.6052, allocations: 84.66 kB / 0.597 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/0.6053, allocations: 35.94 kB / 0.597 GB, free: 26.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004801/0.6058, allocations: 268 kB / 0.5973 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.606, allocations: 65.5 kB / 0.5973 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.6082, allocations: 0.6709 MB / 0.598 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.6082, allocations: 5.797 kB / 0.598 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6082, allocations: 0 / 0.598 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.6083, allocations: 3.469 kB / 0.598 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.6121, allocations: 1.408 MB / 0.5994 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.6121, allocations: 5.156 kB / 0.5994 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.6126, allocations: 90.23 kB / 0.5994 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006682/0.6133, allocations: 135.2 kB / 0.5996 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.6133, allocations: 13.39 kB / 0.5996 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006748/0.614, allocations: 0.6318 MB / 0.6002 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.614, allocations: 2.094 kB / 0.6002 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.6158, allocations: 0.7623 MB / 0.6009 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/0.6161, allocations: 206.1 kB / 0.6011 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.371e-05/0.6162, allocations: 6.547 kB / 0.6012 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.6167, allocations: 56.11 kB / 0.6012 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-05/0.6168, allocations: 38.33 kB / 0.6012 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.6169, allocations: 19.91 kB / 0.6013 GB, free: 24.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000588/0.6175, allocations: 393.5 kB / 0.6016 GB, free: 23.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6175, allocations: 2.953 kB / 0.6016 GB, free: 23.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001691/0.6192, allocations: 389.2 kB / 0.602 GB, free: 23.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003116/0.6223, allocations: 1.711 MB / 0.6037 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002373/0.6247, allocations: 0.9107 MB / 0.6046 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6247, allocations: 0 / 0.6046 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007423/0.6255, allocations: 300.5 kB / 0.6049 GB, free: 22.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.6271, allocations: 261.8 kB / 0.6051 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.6307, allocations: 4.656 MB / 0.6097 GB, free: 18.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.6312, allocations: 0.9265 MB / 0.6106 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006901/0.6319, allocations: 144.9 kB / 0.6107 GB, free: 17.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.6323, allocations: 243.9 kB / 0.6109 GB, free: 17.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.342e-06/0.6323, allocations: 1.5 kB / 0.6109 GB, free: 17.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07543/0.7077, allocations: 17.41 MB / 0.6279 GB, free: 7.461 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/0.708, allocations: 272.7 kB / 0.6282 GB, free: 7.098 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.446, allocations: 0 / 0.6282 GB, free: 7.098 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: