Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves",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.0007215/0.0007215, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007509/0.0007509, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.208/1.208, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6213/0.6213, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.000301, allocations: 8.781 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 77.11 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02393/0.1496, allocations: 27.38 MB / 0.5836 GB, free: 236 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2432/0.3928, allocations: 7.643 MB / 0.5911 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.3939, allocations: 27.88 kB / 0.5911 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008694/0.3948, allocations: 310.1 kB / 0.5914 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.3977, allocations: 1.074 MB / 0.5925 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.4005, allocations: 0.9675 MB / 0.5934 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004529/0.405, allocations: 3.528 MB / 0.5969 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.4068, allocations: 1.089 MB / 0.5979 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.4094, allocations: 1.463 MB / 0.5993 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.4122, allocations: 1.553 MB / 0.6009 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003473/0.4125, allocations: 63.28 kB / 0.6009 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.4145, allocations: 0.8654 MB / 0.6018 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003857/0.4149, allocations: 334.1 kB / 0.6021 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.4153, allocations: 248.7 kB / 0.6023 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.4168, allocations: 1.532 MB / 0.6038 GB, free: 10.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4168, allocations: 0 / 0.6038 GB, free: 10.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4169, allocations: 3.938 kB / 0.6038 GB, free: 10.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.4169, allocations: 1.094 kB / 0.6038 GB, free: 10.02 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002028/0.4189, allocations: 1.354 MB / 0.6052 GB, free: 25.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.419, allocations: 13.38 kB / 0.6052 GB, free: 25.2 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.129e-05/0.4191, allocations: 95.89 kB / 0.6053 GB, free: 25.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.4193, allocations: 152.2 kB / 0.6054 GB, free: 25.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.4206, allocations: 0.8517 MB / 0.6062 GB, free: 24.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.4207, allocations: 80.09 kB / 0.6063 GB, free: 24.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.4209, allocations: 120.8 kB / 0.6064 GB, free: 24.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/0.4218, allocations: 0.6401 MB / 0.607 GB, free: 24.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.4218, allocations: 3.938 kB / 0.6071 GB, free: 24.63 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.4219, allocations: 24.53 kB / 0.6071 GB, free: 24.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.4219, allocations: 19.72 kB / 0.6071 GB, free: 24.63 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.4227, allocations: 471.2 kB / 0.6075 GB, free: 24.62 MB / 462.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.003549/0.4262, allocations: 2.882 MB / 0.6104 GB, free: 22.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.4268, allocations: 311 kB / 0.6107 GB, free: 22.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.4271, allocations: 152.8 kB / 0.6108 GB, free: 22.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/0.4273, allocations: 347.6 kB / 0.6111 GB, free: 22.37 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.4273, allocations: 34.28 kB / 0.6112 GB, free: 22.33 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.552e-06/0.4273, allocations: 0 / 0.6112 GB, free: 22.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001103/0.4285, allocations: 0.548 MB / 0.6117 GB, free: 22.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.4285, allocations: 56.08 kB / 0.6118 GB, free: 22.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008898/0.4294, allocations: 0.897 MB / 0.6126 GB, free: 21.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.4295, allocations: 54.86 kB / 0.6127 GB, free: 21.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.4299, allocations: 0.5376 MB / 0.6132 GB, free: 21.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.4299, allocations: 115.2 kB / 0.6133 GB, free: 21.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.43, allocations: 10.34 kB / 0.6133 GB, free: 21.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4301, allocations: 335.1 kB / 0.6136 GB, free: 21.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.4304, allocations: 174.1 kB / 0.6138 GB, free: 20.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.4314, allocations: 1.142 MB / 0.6149 GB, free: 19.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.4319, allocations: 312 kB / 0.6152 GB, free: 19.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4319, allocations: 1.281 kB / 0.6152 GB, free: 19.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001058/0.433, allocations: 0.6406 MB / 0.6159 GB, free: 19.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/0.433, allocations: 150.2 kB / 0.616 GB, free: 19.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.4331, allocations: 3.094 kB / 0.616 GB, free: 19.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4331, allocations: 6.188 kB / 0.616 GB, free: 19.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.4343, allocations: 239.5 kB / 0.6162 GB, free: 19.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.4356, allocations: 2.954 MB / 0.6191 GB, free: 16.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/0.4383, allocations: 0.7601 MB / 0.6199 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.4384, allocations: 27.23 kB / 0.6199 GB, free: 15.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.4384, allocations: 4.125 kB / 0.6199 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008305/0.4392, allocations: 0.5018 MB / 0.6204 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4393, allocations: 2.781 kB / 0.6204 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.104e-06/0.4393, allocations: 4.719 kB / 0.6204 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.4399, allocations: 161.3 kB / 0.6205 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4399, allocations: 7.766 kB / 0.6205 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.4423, allocations: 0.731 MB / 0.6213 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.4424, allocations: 30.42 kB / 0.6213 GB, free: 15.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004745/0.4429, allocations: 326 kB / 0.6216 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.443, allocations: 103.5 kB / 0.6217 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009396/0.4439, allocations: 0.5199 MB / 0.6222 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.4439, allocations: 13.44 kB / 0.6222 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.444, allocations: 1.312 kB / 0.6222 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.444, allocations: 3.938 kB / 0.6222 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.4456, allocations: 1.277 MB / 0.6235 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.4456, allocations: 2.25 kB / 0.6235 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.446, allocations: 122.3 kB / 0.6236 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.446, allocations: 3.469 kB / 0.6236 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.4461, allocations: 10.31 kB / 0.6236 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.4472, allocations: 2.941 MB / 0.6265 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4473, allocations: 1.188 kB / 0.6265 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/0.4479, allocations: 0.5726 MB / 0.627 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.4481, allocations: 225 kB / 0.6273 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-05/0.4482, allocations: 6.969 kB / 0.6273 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.4487, allocations: 63.73 kB / 0.6273 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.4487, allocations: 33.3 kB / 0.6274 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.4488, allocations: 16.94 kB / 0.6274 GB, free: 9.895 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005559/0.4493, allocations: 0.5941 MB / 0.6279 GB, free: 9.547 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4493, allocations: 2.594 kB / 0.628 GB, free: 9.547 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00121/0.4506, allocations: 0.5386 MB / 0.6285 GB, free: 9.43 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001446/0.452, allocations: 1.352 MB / 0.6298 GB, free: 8.438 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.4541, allocations: 0.8358 MB / 0.6306 GB, free: 8.113 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4541, allocations: 2.516 kB / 0.6306 GB, free: 8.113 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004978/0.4546, allocations: 239.6 kB / 0.6308 GB, free: 8.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.4566, allocations: 482.3 kB / 0.6313 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007353/0.464, allocations: 5.07 MB / 0.6363 GB, free: 4.188 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.4646, allocations: 1.033 MB / 0.6373 GB, free: 3.125 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009542/0.4655, allocations: 203 kB / 0.6375 GB, free: 2.922 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.466, allocations: 367.3 kB / 0.6378 GB, free: 2.562 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.466, allocations: 0 / 0.6378 GB, free: 2.562 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05075/0.5167, allocations: 32.26 MB / 0.6693 GB, free: 2.945 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.517, allocations: 255.8 kB / 0.6696 GB, free: 2.609 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/2.868, allocations: 0 / 0.6696 GB, free: 2.609 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: