Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.001134/0.001134, allocations: 105.3 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 195.9 kB / 17.34 MB, free: 5.742 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7152/0.7152, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 70.31 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1408, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1021/0.2429, allocations: 112.6 MB / 0.7416 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3689/0.6119, allocations: 20.23 MB / 0.7613 GB, free: 30.42 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004536/0.6165, allocations: 106.6 kB / 0.7614 GB, free: 30.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004019/0.6206, allocations: 1.28 MB / 0.7627 GB, free: 30.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.6314, allocations: 3.692 MB / 0.7663 GB, free: 30.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008474/0.6399, allocations: 3.125 MB / 0.7693 GB, free: 30.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01196/0.6519, allocations: 7.216 MB / 0.7764 GB, free: 30.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005073/0.657, allocations: 2.568 MB / 0.7789 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008004/0.665, allocations: 2.898 MB / 0.7817 GB, free: 29.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004801/0.6699, allocations: 2.132 MB / 0.7838 GB, free: 28.42 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006168/0.6705, allocations: 253.4 kB / 0.784 GB, free: 28.42 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005092/0.6756, allocations: 1.642 MB / 0.7857 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006409/0.6763, allocations: 0.6945 MB / 0.7863 GB, free: 27.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.6784, allocations: 1.513 MB / 0.7878 GB, free: 26.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006347/0.6848, allocations: 4.385 MB / 0.7921 GB, free: 24.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6848, allocations: 7.938 kB / 0.7921 GB, free: 24.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6848, allocations: 0 / 0.7921 GB, free: 24.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.08e-05/0.6849, allocations: 0 / 0.7921 GB, free: 24.39 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005141/0.6901, allocations: 3.228 MB / 0.7953 GB, free: 22.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.6901, allocations: 10.09 kB / 0.7953 GB, free: 22.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/0.6903, allocations: 219.9 kB / 0.7955 GB, free: 21.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007899/0.6911, allocations: 324.5 kB / 0.7958 GB, free: 21.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.6944, allocations: 2.202 MB / 0.7979 GB, free: 20.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.6944, allocations: 123.2 kB / 0.798 GB, free: 20.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.6946, allocations: 173.2 kB / 0.7982 GB, free: 20.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.6968, allocations: 1.612 MB / 0.7998 GB, free: 19 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.6969, allocations: 6.469 kB / 0.7998 GB, free: 19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.697, allocations: 61.81 kB / 0.7999 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.697, allocations: 39.97 kB / 0.7999 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.6987, allocations: 1.15 MB / 0.801 GB, free: 18.37 MB / 0.5762 GB 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.009166/0.7079, allocations: 7.92 MB / 0.8087 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006718/0.7086, allocations: 472 kB / 0.8092 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/0.709, allocations: 330 kB / 0.8095 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004251/0.7094, allocations: 0.755 MB / 0.8102 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.7095, allocations: 50.23 kB / 0.8103 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.276e-06/0.7095, allocations: 0 / 0.8103 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001719/0.7112, allocations: 0.992 MB / 0.8113 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.7112, allocations: 59.97 kB / 0.8113 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.7136, allocations: 2.339 MB / 0.8136 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.7137, allocations: 49.7 kB / 0.8137 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006871/0.7144, allocations: 1.143 MB / 0.8148 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.7145, allocations: 219.4 kB / 0.815 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.7148, allocations: 254.6 kB / 0.8152 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.7149, allocations: 349.9 kB / 0.8156 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.7154, allocations: 365.9 kB / 0.8159 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.7161, allocations: 0.7462 MB / 0.8166 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.7172, allocations: 0.9832 MB / 0.8176 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.7172, allocations: 0 / 0.8176 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001841/0.719, allocations: 1.299 MB / 0.8189 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.719, allocations: 12 kB / 0.8189 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7191, allocations: 8 kB / 0.8189 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.7191, allocations: 12 kB / 0.8189 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/0.7199, allocations: 247.6 kB / 0.8191 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.72, allocations: 23.92 kB / 0.8192 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.7213, allocations: 166.4 kB / 0.8193 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/0.7214, allocations: 47.98 kB / 0.8194 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001075/0.7225, allocations: 0.7602 MB / 0.8201 GB, free: 440 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008022/0.7233, allocations: 0.735 MB / 0.8208 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001336/0.7246, allocations: 0.9539 MB / 0.8217 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.434e-06/0.7247, allocations: 0 / 0.8217 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002188/0.7268, allocations: 1.262 MB / 0.823 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.7269, allocations: 13.97 kB / 0.823 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.7269, allocations: 8 kB / 0.823 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.7269, allocations: 16 kB / 0.823 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008772/0.7278, allocations: 247.6 kB / 0.8233 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.7278, allocations: 19.92 kB / 0.8233 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.7293, allocations: 127.4 kB / 0.8234 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/0.7294, allocations: 51.97 kB / 0.8234 GB, free: 12.73 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003429/0.7297, allocations: 251.5 kB / 0.8237 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004666/0.7302, allocations: 237 kB / 0.8239 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.732, allocations: 0.8857 MB / 0.8248 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.7321, allocations: 8 kB / 0.8248 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7321, allocations: 3.938 kB / 0.8248 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/0.7331, allocations: 0.6778 MB / 0.8254 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005003/0.7381, allocations: 2.589 MB / 0.828 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.515e-06/0.7381, allocations: 4 kB / 0.828 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005424/0.7387, allocations: 127.8 kB / 0.8281 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/0.7387, allocations: 7.984 kB / 0.8281 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.7388, allocations: 12.09 kB / 0.8281 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.7388, allocations: 8 kB / 0.8281 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7388, allocations: 0 / 0.8281 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.7411, allocations: 1.321 MB / 0.8294 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009252/0.742, allocations: 409.9 kB / 0.8298 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005273/0.7426, allocations: 16 kB / 0.8298 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.7438, allocations: 47.88 kB / 0.8299 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.7439, allocations: 40.5 kB / 0.8299 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.694e-05/0.744, allocations: 39.92 kB / 0.8299 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002851/0.7469, allocations: 1.566 MB / 0.8315 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7469, allocations: 4 kB / 0.8315 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00334/0.7503, allocations: 1.107 MB / 0.8326 GB, free: 3.223 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004174/0.7544, allocations: 2.513 MB / 0.835 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002573/0.757, allocations: 1.36 MB / 0.8363 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.757, allocations: 4.25 kB / 0.8363 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.7576, allocations: 331 kB / 0.8367 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005835/0.7634, allocations: 1.385 MB / 0.838 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02517/0.7886, allocations: 14.9 MB / 0.8526 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.7902, allocations: 1.59 MB / 0.8541 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002113/0.7923, allocations: 0.4908 MB / 0.8546 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.7937, allocations: 0.9601 MB / 0.8555 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of SimCode: time 1.492e-06/0.7937, allocations: 4 kB / 0.8555 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/0.9028, allocations: 65.25 MB / 0.9193 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.83, allocations: 0 / 0.9193 GB, free: 10.82 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)