Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009755/0.0009756, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.001293/0.001293, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.027/1.027, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005516/0.0005517, allocations: 8 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2057, allocations: 83.41 MB / 0.5974 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.3562/0.5619, allocations: 13.1 MB / 0.6101 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004608/0.5666, allocations: 3.738 MB / 0.6138 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.567, allocations: 12.97 kB / 0.6138 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00077/0.5678, allocations: 247.1 kB / 0.614 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.5692, allocations: 0.627 MB / 0.6147 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.5709, allocations: 0.7741 MB / 0.6154 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007407/0.5717, allocations: 0.637 MB / 0.616 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.572, allocations: 266 kB / 0.6163 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000476/0.5725, allocations: 342.4 kB / 0.6166 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.5728, allocations: 234.7 kB / 0.6168 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.5728, allocations: 11.31 kB / 0.6168 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006776/0.5735, allocations: 400.2 kB / 0.6172 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.334e-05/0.5736, allocations: 83.5 kB / 0.6173 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.278e-05/0.5737, allocations: 103.9 kB / 0.6174 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.5741, allocations: 498.6 kB / 0.6179 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.5741, allocations: 0 / 0.6179 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5741, allocations: 0 / 0.6179 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5741, allocations: 3.938 kB / 0.6179 GB, free: 34.4 MB / 0.4981 GB 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.000863/0.575, allocations: 0.7423 MB / 0.6186 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.5751, allocations: 8.75 kB / 0.6186 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.5751, allocations: 54.69 kB / 0.6187 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.5752, allocations: 54.44 kB / 0.6187 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.5756, allocations: 408.6 kB / 0.6191 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.5757, allocations: 19.97 kB / 0.6191 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.5757, allocations: 28.16 kB / 0.6192 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.5761, allocations: 211.3 kB / 0.6194 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5761, allocations: 0 / 0.6194 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.5761, allocations: 10.8 kB / 0.6194 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.5761, allocations: 6.031 kB / 0.6194 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.5764, allocations: 174.7 kB / 0.6195 GB, free: 33.28 MB / 0.4981 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.001265/0.5777, allocations: 0.9567 MB / 0.6205 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.578, allocations: 144.4 kB / 0.6206 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.5782, allocations: 335 kB / 0.6209 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.5782, allocations: 33.06 kB / 0.621 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.5782, allocations: 0 / 0.621 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005256/0.5787, allocations: 264.5 kB / 0.6212 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.5788, allocations: 51.41 kB / 0.6213 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.5791, allocations: 469.4 kB / 0.6217 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.5792, allocations: 29.7 kB / 0.6217 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.5793, allocations: 234.2 kB / 0.622 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.5793, allocations: 48.31 kB / 0.622 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-06/0.5793, allocations: 8 kB / 0.622 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.5794, allocations: 356.1 kB / 0.6224 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.5796, allocations: 73.92 kB / 0.6224 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.5798, allocations: 153.8 kB / 0.6226 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.58, allocations: 80.27 kB / 0.6227 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.58, allocations: 2.594 kB / 0.6227 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000428/0.5804, allocations: 261 kB / 0.6229 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/0.5805, allocations: 276.6 kB / 0.6232 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5805, allocations: 0 / 0.6232 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.5805, allocations: 2.875 kB / 0.6232 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.5807, allocations: 54.72 kB / 0.6232 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5807, allocations: 3.375 kB / 0.6232 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.5811, allocations: 46.47 kB / 0.6233 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.5811, allocations: 11.88 kB / 0.6233 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.5811, allocations: 2.812 kB / 0.6233 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003527/0.5815, allocations: 181.9 kB / 0.6235 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-06/0.5815, allocations: 4 kB / 0.6235 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-06/0.5815, allocations: 2.688 kB / 0.6235 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.5817, allocations: 49.62 kB / 0.6235 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.5817, allocations: 2.531 kB / 0.6235 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.582, allocations: 49.94 kB / 0.6236 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.582, allocations: 16.38 kB / 0.6236 GB, free: 30.54 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.5821, allocations: 240.2 kB / 0.6238 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.5822, allocations: 43.53 kB / 0.6238 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.5827, allocations: 258.8 kB / 0.6241 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5827, allocations: 3.5 kB / 0.6241 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5827, allocations: 0 / 0.6241 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5827, allocations: 0 / 0.6241 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007859/0.5835, allocations: 0.7194 MB / 0.6248 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5835, allocations: 7.172 kB / 0.6248 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.5836, allocations: 33.02 kB / 0.6248 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5836, allocations: 7.219 kB / 0.6248 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.5837, allocations: 0 / 0.6248 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5837, allocations: 9.5 kB / 0.6249 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5837, allocations: 2.531 kB / 0.6249 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.5841, allocations: 406.3 kB / 0.6252 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.5842, allocations: 148.9 kB / 0.6254 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.5843, allocations: 11.33 kB / 0.6254 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.5845, allocations: 17.27 kB / 0.6254 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.5845, allocations: 16.38 kB / 0.6254 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.5846, allocations: 9.984 kB / 0.6254 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002817/0.5848, allocations: 333.2 kB / 0.6258 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5848, allocations: 0 / 0.6258 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006035/0.5855, allocations: 202.6 kB / 0.626 GB, free: 29.04 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/0.5869, allocations: 1.577 MB / 0.6275 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005519/0.5875, allocations: 279.3 kB / 0.6278 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5875, allocations: 4 kB / 0.6278 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.5876, allocations: 89.52 kB / 0.6278 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.5887, allocations: 216.8 kB / 0.6281 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.5901, allocations: 1.478 MB / 0.6295 GB, free: 26.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.5903, allocations: 0.8477 MB / 0.6303 GB, free: 25.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002792/0.5906, allocations: 85.61 kB / 0.6304 GB, free: 25.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.5907, allocations: 143.7 kB / 0.6305 GB, free: 25.76 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.5907, allocations: 0 / 0.6305 GB, free: 25.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.616, allocations: 12.11 MB / 0.6424 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.6162, allocations: 242.7 kB / 0.6426 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.675, allocations: 4.125 kB / 0.6426 GB, free: 24.55 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: