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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7313/0.7313, allocations: 127.4 MB / 134.9 MB, free: 3.746 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001109, allocations: 188.8 kB / 164.7 MB, free: 6.52 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.2 MB / 399.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.00114, allocations: 100.1 kB / 476.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.141e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.167, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.22/1.387, allocations: 358.4 MB / 0.9716 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.388, allocations: 95.25 kB / 0.9717 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6721/2.06, allocations: 171.4 MB / 1.139 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/2.06, allocations: 0 / 1.139 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.48e-05/2.06, allocations: 13.38 kB / 1.139 GB, free: 166.6 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001429/2.062, allocations: 0.7297 MB / 1.14 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/2.062, allocations: 9.25 kB / 1.14 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/2.062, allocations: 50.86 kB / 1.14 GB, free: 166.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008149/2.063, allocations: 421.1 kB / 1.14 GB, free: 166 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/2.063, allocations: 10.03 kB / 1.14 GB, free: 166 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/2.063, allocations: 24.2 kB / 1.14 GB, free: 166 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003033/2.063, allocations: 117.6 kB / 1.14 GB, free: 166 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/2.063, allocations: 158.2 kB / 1.141 GB, free: 166 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/2.063, allocations: 0 / 1.141 GB, free: 166 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/2.063, allocations: 0 / 1.141 GB, free: 166 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/2.063, allocations: 5.469 kB / 1.141 GB, free: 166 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.001945/2.065, allocations: 1.19 MB / 1.142 GB, free: 165.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/2.066, allocations: 72.17 kB / 1.142 GB, free: 165.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/2.066, allocations: 27.66 kB / 1.142 GB, free: 165.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/2.066, allocations: 3.469 kB / 1.142 GB, free: 165.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/2.066, allocations: 35.23 kB / 1.142 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/2.066, allocations: 0.7188 kB / 1.142 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0009176/2.067, allocations: 193 kB / 1.142 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/2.067, allocations: 52.47 kB / 1.142 GB, free: 165 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/2.067, allocations: 373.2 kB / 1.142 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/2.067, allocations: 27.08 kB / 1.143 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/2.067, allocations: 243.4 kB / 1.143 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/2.067, allocations: 25.56 kB / 1.143 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/2.068, allocations: 0 / 1.143 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001115/2.068, allocations: 347.9 kB / 1.143 GB, free: 164.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/2.068, allocations: 50.59 kB / 1.143 GB, free: 164.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/2.068, allocations: 153.2 kB / 1.143 GB, free: 164.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/2.068, allocations: 78.7 kB / 1.143 GB, free: 164.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/2.068, allocations: 5.516 kB / 1.143 GB, free: 164.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005029/2.069, allocations: 213.8 kB / 1.144 GB, free: 164.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.572e-05/2.069, allocations: 277.4 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/2.069, allocations: 2.875 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/2.069, allocations: 2.688 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/2.069, allocations: 58.14 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/2.069, allocations: 4.094 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/2.07, allocations: 59.5 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/2.07, allocations: 14.22 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/2.07, allocations: 6.156 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003231/2.07, allocations: 114.9 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/2.07, allocations: 5.141 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/2.07, allocations: 2.219 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/2.07, allocations: 42.94 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/2.07, allocations: 2.781 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/2.071, allocations: 36.09 kB / 1.144 GB, free: 164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/2.071, allocations: 11.69 kB / 1.144 GB, free: 164 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 9.538e-05/2.071, allocations: 111.4 kB / 1.144 GB, free: 163.9 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002251/2.071, allocations: 118.8 kB / 1.144 GB, free: 163.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/2.071, allocations: 40.73 kB / 1.144 GB, free: 163.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/2.071, allocations: 129.6 kB / 1.145 GB, free: 163.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/2.071, allocations: 1.062 kB / 1.145 GB, free: 163.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/2.071, allocations: 0 / 1.145 GB, free: 163.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/2.071, allocations: 1.625 kB / 1.145 GB, free: 163.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/2.072, allocations: 306.6 kB / 1.145 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/2.072, allocations: 0 / 1.145 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/2.072, allocations: 41.09 kB / 1.145 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/2.072, allocations: 2.328 kB / 1.145 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/2.072, allocations: 8.297 kB / 1.145 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/2.072, allocations: 2.594 kB / 1.145 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.072, allocations: 3.172 kB / 1.145 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/2.073, allocations: 215.7 kB / 1.145 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/2.073, allocations: 121.4 kB / 1.145 GB, free: 163.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/2.073, allocations: 5.562 kB / 1.145 GB, free: 163.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/2.073, allocations: 40.28 kB / 1.145 GB, free: 163.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/2.073, allocations: 6.531 kB / 1.145 GB, free: 163.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/2.073, allocations: 6.453 kB / 1.145 GB, free: 163.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003496/2.074, allocations: 287.2 kB / 1.146 GB, free: 163.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/2.074, allocations: 1.219 kB / 1.146 GB, free: 163.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009166/2.074, allocations: 215.3 kB / 1.146 GB, free: 163.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001662/2.076, allocations: 1.166 MB / 1.147 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004779/2.077, allocations: 199.8 kB / 1.147 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/2.077, allocations: 0 / 1.147 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/2.077, allocations: 36.58 kB / 1.147 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/2.078, allocations: 184.7 kB / 1.147 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007193/2.085, allocations: 1.09 MB / 1.148 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/2.086, allocations: 0.8237 MB / 1.149 GB, free: 161.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005736/2.086, allocations: 104.5 kB / 1.149 GB, free: 161.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/2.086, allocations: 126.8 kB / 1.149 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of SimCode: time 2.555e-06/2.086, allocations: 3.156 kB / 1.149 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04272/2.129, allocations: 12.18 MB / 1.161 GB, free: 161.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/2.129, allocations: 189.3 kB / 1.161 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/4.466, allocations: 3.375 kB / 1.161 GB, free: 161.2 MB / 0.6355 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)