Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.6823/0.6823, allocations: 127.3 MB / 139.8 MB, free: 15.51 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 184.8 kB / 169.7 MB, free: 1.754 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.351/1.351, allocations: 205.1 MB / 404.5 MB, free: 1.609 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.0008393/0.0008393, allocations: 78.3 kB / 481.8 MB, free: 4.262 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.632e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1248, allocations: 76.76 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9326/1.057, allocations: 356.8 MB / 0.9767 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/1.058, allocations: 95.94 kB / 0.9768 GB, free: 177.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7971/1.855, allocations: 232.9 MB / 1.204 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.402e-06/1.855, allocations: 0 / 1.204 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.79e-05/1.855, allocations: 21.77 kB / 1.204 GB, free: 159.3 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001602/1.857, allocations: 0.9489 MB / 1.205 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.857, allocations: 11.34 kB / 1.205 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.887e-05/1.857, allocations: 82.89 kB / 1.205 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/1.858, allocations: 253.9 kB / 1.206 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008859/1.859, allocations: 0.5089 MB / 1.206 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/1.859, allocations: 36.25 kB / 1.206 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/1.859, allocations: 52.98 kB / 1.206 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/1.863, allocations: 0.9805 MB / 1.207 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/1.863, allocations: 5 kB / 1.207 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/1.863, allocations: 19.06 kB / 1.207 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/1.863, allocations: 14.78 kB / 1.207 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/1.866, allocations: 0.8237 MB / 1.208 GB, free: 157.7 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.003899/1.87, allocations: 3.239 MB / 1.211 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/1.873, allocations: 0.6819 MB / 1.212 GB, free: 155 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/1.873, allocations: 185.9 kB / 1.212 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/1.874, allocations: 348 kB / 1.212 GB, free: 154.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/1.874, allocations: 38.44 kB / 1.212 GB, free: 154.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 3.286e-06/1.874, allocations: 0 / 1.212 GB, free: 154.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.005913/1.88, allocations: 1.198 MB / 1.213 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/1.88, allocations: 57.31 kB / 1.213 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/1.88, allocations: 0.4901 MB / 1.214 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.954e-05/1.88, allocations: 41.55 kB / 1.214 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/1.881, allocations: 339.9 kB / 1.214 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.881, allocations: 127.5 kB / 1.214 GB, free: 153.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/1.881, allocations: 12 kB / 1.214 GB, free: 153.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/1.881, allocations: 368.7 kB / 1.215 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/1.881, allocations: 248.1 kB / 1.215 GB, free: 153.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/1.882, allocations: 432.1 kB / 1.215 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/1.882, allocations: 263.1 kB / 1.216 GB, free: 152.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.882, allocations: 3.938 kB / 1.216 GB, free: 152.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001348/1.884, allocations: 0.7795 MB / 1.216 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000334/1.884, allocations: 1.749 MB / 1.218 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.884, allocations: 7.531 kB / 1.218 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004876/1.884, allocations: 174.8 kB / 1.218 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.886, allocations: 220.8 kB / 1.219 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/1.887, allocations: 0.7517 MB / 1.219 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/1.888, allocations: 178.1 kB / 1.219 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/1.888, allocations: 39.11 kB / 1.22 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.888, allocations: 3.906 kB / 1.22 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001101/1.89, allocations: 0.6672 MB / 1.22 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.89, allocations: 7.875 kB / 1.22 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.89, allocations: 7.844 kB / 1.22 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/1.891, allocations: 247.1 kB / 1.22 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/1.891, allocations: 11.72 kB / 1.22 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.892, allocations: 168.7 kB / 1.221 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/1.892, allocations: 38.3 kB / 1.221 GB, free: 149.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002269/1.892, allocations: 136.5 kB / 1.221 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.892, allocations: 68.83 kB / 1.221 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/1.894, allocations: 0.6941 MB / 1.222 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.894, allocations: 6.219 kB / 1.222 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.894, allocations: 3.938 kB / 1.222 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.894, allocations: 0 / 1.222 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004665/1.899, allocations: 1.826 MB / 1.223 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.899, allocations: 3.875 kB / 1.223 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/1.899, allocations: 152.1 kB / 1.223 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000377/1.9, allocations: 169.2 kB / 1.224 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/1.9, allocations: 20.25 kB / 1.224 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/1.901, allocations: 0.7453 MB / 1.224 GB, free: 147.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.901, allocations: 3.312 kB / 1.224 GB, free: 147.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/1.904, allocations: 1.011 MB / 1.225 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/1.905, allocations: 215.7 kB / 1.226 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.905, allocations: 4 kB / 1.226 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.906, allocations: 135.8 kB / 1.226 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.906, allocations: 32.86 kB / 1.226 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/1.906, allocations: 22.25 kB / 1.226 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004569/1.907, allocations: 398.7 kB / 1.226 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.907, allocations: 0 / 1.226 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001339/1.908, allocations: 394.7 kB / 1.226 GB, free: 146.8 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003766/1.912, allocations: 1.822 MB / 1.228 GB, free: 145.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002696/1.914, allocations: 1.077 MB / 1.229 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.914, allocations: 3.094 kB / 1.229 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/1.916, allocations: 374.6 kB / 1.23 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/1.917, allocations: 256.5 kB / 1.23 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/1.92, allocations: 0.9507 MB / 1.231 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/1.92, allocations: 0.912 MB / 1.232 GB, free: 144.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001024/1.921, allocations: 187.3 kB / 1.232 GB, free: 144.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/1.921, allocations: 242.7 kB / 1.232 GB, free: 144 MB / 0.6355 GB Notification: Performance of SimCode: time 1.923e-06/1.921, allocations: 3.938 kB / 1.232 GB, free: 144 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/1.964, allocations: 22.91 MB / 1.255 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/1.964, allocations: 247.8 kB / 1.255 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/4.928, allocations: 0 / 1.255 GB, free: 136.3 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)