Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.001079/0.001079, allocations: 104.4 kB / 15.98 MB, free: 6.348 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.001098/0.001098, allocations: 198.4 kB / 16.91 MB, free: 6.199 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.254/1.254, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6686/0.6686, allocations: 115.3 MB / 406.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 493.2 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.309, allocations: 76.18 MB / 0.556 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01281/0.3218, allocations: 15.44 MB / 0.5711 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0053/0.3271, allocations: 4.317 MB / 0.5753 GB, free: 21.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.3277, allocations: 15.19 kB / 0.5753 GB, free: 21.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.3285, allocations: 226.1 kB / 0.5755 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.3298, allocations: 0.559 MB / 0.5761 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.3314, allocations: 0.636 MB / 0.5767 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.3331, allocations: 1.04 MB / 0.5777 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006682/0.3338, allocations: 329.8 kB / 0.578 GB, free: 20.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009141/0.3347, allocations: 422.5 kB / 0.5784 GB, free: 20.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00044/0.3352, allocations: 335.4 kB / 0.5788 GB, free: 19.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.785e-05/0.3353, allocations: 32.16 kB / 0.5788 GB, free: 19.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.3365, allocations: 0.6272 MB / 0.5794 GB, free: 19.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.754e-05/0.3366, allocations: 99.97 kB / 0.5795 GB, free: 19.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3368, allocations: 226.4 kB / 0.5797 GB, free: 19.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009042/0.3377, allocations: 0.761 MB / 0.5805 GB, free: 19.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3377, allocations: 0 / 0.5805 GB, free: 19.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3377, allocations: 0.6875 kB / 0.5805 GB, free: 19.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3377, allocations: 0 / 0.5805 GB, free: 19.25 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001009/0.3387, allocations: 0.8306 MB / 0.5813 GB, free: 18.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.3388, allocations: 9.625 kB / 0.5813 GB, free: 18.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.3388, allocations: 56.58 kB / 0.5813 GB, free: 18.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.3389, allocations: 54.41 kB / 0.5814 GB, free: 18.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.3394, allocations: 414.1 kB / 0.5818 GB, free: 18.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3394, allocations: 19.53 kB / 0.5818 GB, free: 18.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.3394, allocations: 31.34 kB / 0.5818 GB, free: 18.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.3398, allocations: 211.2 kB / 0.582 GB, free: 18.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3399, allocations: 1.484 kB / 0.582 GB, free: 18.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3399, allocations: 10.66 kB / 0.582 GB, free: 18.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3399, allocations: 10.09 kB / 0.5821 GB, free: 18.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.3403, allocations: 163.3 kB / 0.5822 GB, free: 18.04 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.001377/0.3416, allocations: 0.943 MB / 0.5831 GB, free: 17.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.3419, allocations: 148.2 kB / 0.5833 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.3421, allocations: 69.27 kB / 0.5833 GB, free: 17.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.3423, allocations: 336.8 kB / 0.5837 GB, free: 16.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.3423, allocations: 40.59 kB / 0.5837 GB, free: 16.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.3423, allocations: 0 / 0.5837 GB, free: 16.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005687/0.3429, allocations: 242 kB / 0.5839 GB, free: 16.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.3429, allocations: 53.69 kB / 0.584 GB, free: 16.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/0.3433, allocations: 474.9 kB / 0.5844 GB, free: 16.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3434, allocations: 32.55 kB / 0.5845 GB, free: 16.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3435, allocations: 229.7 kB / 0.5847 GB, free: 16.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.3435, allocations: 45.66 kB / 0.5847 GB, free: 16.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.3436, allocations: 58.08 kB / 0.5848 GB, free: 16.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.3437, allocations: 357.3 kB / 0.5851 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3439, allocations: 76.83 kB / 0.5852 GB, free: 15.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3441, allocations: 157.5 kB / 0.5853 GB, free: 15.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.3444, allocations: 161 kB / 0.5855 GB, free: 15.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3444, allocations: 0 / 0.5855 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004614/0.3449, allocations: 254.2 kB / 0.5857 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.3449, allocations: 6.25 kB / 0.5857 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3449, allocations: 1.531 kB / 0.5858 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3449, allocations: 1.469 kB / 0.5858 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.3452, allocations: 47.08 kB / 0.5858 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3452, allocations: 5.688 kB / 0.5858 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.3455, allocations: 50.25 kB / 0.5858 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.3456, allocations: 8.906 kB / 0.5859 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002527/0.3458, allocations: 200.8 kB / 0.586 GB, free: 15.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002057/0.346, allocations: 159.5 kB / 0.5862 GB, free: 15.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002961/0.3463, allocations: 169.5 kB / 0.5864 GB, free: 15.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.3463, allocations: 1.25 kB / 0.5864 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004534/0.3468, allocations: 255.4 kB / 0.5866 GB, free: 15.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.3468, allocations: 5.281 kB / 0.5866 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.3468, allocations: 1.906 kB / 0.5866 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.3468, allocations: 2.312 kB / 0.5866 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.347, allocations: 46.5 kB / 0.5867 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.347, allocations: 3.234 kB / 0.5867 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.3474, allocations: 39.48 kB / 0.5867 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.3474, allocations: 13.2 kB / 0.5867 GB, free: 15.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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 6.987e-05/0.3475, allocations: 194.6 kB / 0.5869 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.3476, allocations: 44.55 kB / 0.5869 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005027/0.3481, allocations: 253.4 kB / 0.5872 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3481, allocations: 2.094 kB / 0.5872 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3481, allocations: 0.5625 kB / 0.5872 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.3481, allocations: 1.984 kB / 0.5872 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008582/0.349, allocations: 0.705 MB / 0.5879 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.349, allocations: 1.125 kB / 0.5879 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.3491, allocations: 32.3 kB / 0.5879 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3491, allocations: 1.344 kB / 0.5879 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3492, allocations: 15.56 kB / 0.5879 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3492, allocations: 2.969 kB / 0.5879 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3492, allocations: 1.469 kB / 0.5879 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.3496, allocations: 344.8 kB / 0.5883 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3497, allocations: 140.2 kB / 0.5884 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.3498, allocations: 11.47 kB / 0.5884 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.35, allocations: 20.61 kB / 0.5884 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.3501, allocations: 14.73 kB / 0.5884 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3501, allocations: 6.5 kB / 0.5884 GB, free: 13.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.3504, allocations: 332.9 kB / 0.5888 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3504, allocations: 0 / 0.5888 GB, free: 13.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006468/0.3511, allocations: 197.2 kB / 0.5889 GB, free: 13.69 MB / 446.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001465/0.3525, allocations: 1.251 MB / 0.5902 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006225/0.3532, allocations: 281.7 kB / 0.5904 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3532, allocations: 0 / 0.5904 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3534, allocations: 89.61 kB / 0.5905 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3544, allocations: 206.1 kB / 0.5907 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.3584, allocations: 3.504 MB / 0.5941 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3587, allocations: 0.8228 MB / 0.5949 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003187/0.359, allocations: 86.27 kB / 0.595 GB, free: 9.723 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.3592, allocations: 144 kB / 0.5952 GB, free: 9.621 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3592, allocations: 4 kB / 0.5952 GB, free: 9.617 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.268/1.627, allocations: 12.52 MB / 0.6074 GB, free: 15.76 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/1.628, allocations: 247.3 kB / 0.6076 GB, free: 15.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/3.712, allocations: 3.938 kB / 0.6076 GB, free: 15.5 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)