Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves",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.7394/0.7394, allocations: 127.4 MB / 134.9 MB, free: 3.734 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.001116/0.001116, allocations: 172.8 kB / 164.6 MB, free: 6.535 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.727/1.727, allocations: 205.2 MB / 399.5 MB, free: 5.941 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.001028/0.001028, allocations: 96.53 kB / 476.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.061e-05/2.062e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1616, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.128/1.289, allocations: 361 MB / 0.9741 GB, free: 158.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/1.29, allocations: 100.5 kB / 0.9742 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9607/2.25, allocations: 353.6 MB / 1.32 GB, free: 62.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/2.25, allocations: 0 / 1.32 GB, free: 62.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.7e-05/2.25, allocations: 27.91 kB / 1.32 GB, free: 62.71 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001826/2.252, allocations: 1.146 MB / 1.321 GB, free: 61.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/2.252, allocations: 8.031 kB / 1.321 GB, free: 61.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006876/2.253, allocations: 178.8 kB / 1.321 GB, free: 61.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/2.254, allocations: 0.6643 MB / 1.322 GB, free: 60.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/2.254, allocations: 16 kB / 1.322 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/2.254, allocations: 59.95 kB / 1.322 GB, free: 60.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004918/2.255, allocations: 330.5 kB / 1.322 GB, free: 60.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006114/2.255, allocations: 464.5 kB / 1.322 GB, free: 59.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/2.255, allocations: 0 / 1.322 GB, free: 59.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/2.255, allocations: 3.984 kB / 1.322 GB, free: 59.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/2.255, allocations: 15.94 kB / 1.322 GB, free: 59.75 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.003049/2.258, allocations: 2.709 MB / 1.325 GB, free: 56.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/2.259, allocations: 249.4 kB / 1.325 GB, free: 56.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/2.259, allocations: 90.08 kB / 1.325 GB, free: 56.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/2.259, allocations: 101.1 kB / 1.325 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/2.259, allocations: 38.56 kB / 1.326 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/2.259, allocations: 0 / 1.326 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.002572/2.262, allocations: 0.6217 MB / 1.326 GB, free: 55.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/2.262, allocations: 55.41 kB / 1.326 GB, free: 55.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/2.262, allocations: 0.5507 MB / 1.327 GB, free: 55.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/2.263, allocations: 29.7 kB / 1.327 GB, free: 55.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/2.263, allocations: 443.7 kB / 1.327 GB, free: 54.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/2.263, allocations: 78.84 kB / 1.327 GB, free: 54.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/2.263, allocations: 3.938 kB / 1.327 GB, free: 54.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/2.263, allocations: 382.7 kB / 1.328 GB, free: 54.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/2.263, allocations: 169.1 kB / 1.328 GB, free: 54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/2.264, allocations: 0.7808 MB / 1.329 GB, free: 52.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/2.265, allocations: 362.7 kB / 1.329 GB, free: 52.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/2.265, allocations: 8 kB / 1.329 GB, free: 52.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001478/2.266, allocations: 0.6589 MB / 1.33 GB, free: 51.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/2.267, allocations: 0.8018 MB / 1.33 GB, free: 51.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/2.267, allocations: 0 / 1.33 GB, free: 51.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/2.267, allocations: 4 kB / 1.33 GB, free: 51.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/2.27, allocations: 0.5189 MB / 1.331 GB, free: 50.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/2.272, allocations: 2.571 MB / 1.333 GB, free: 47.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/2.274, allocations: 419.6 kB / 1.334 GB, free: 47.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/2.274, allocations: 27.97 kB / 1.334 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/2.274, allocations: 6.812 kB / 1.334 GB, free: 47.47 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001236/2.275, allocations: 0.4942 MB / 1.334 GB, free: 46.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/2.275, allocations: 4.172 kB / 1.334 GB, free: 46.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/2.275, allocations: 8 kB / 1.334 GB, free: 46.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/2.276, allocations: 164 kB / 1.334 GB, free: 46.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/2.276, allocations: 11.92 kB / 1.334 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/2.277, allocations: 379.8 kB / 1.335 GB, free: 46.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/2.278, allocations: 23.98 kB / 1.335 GB, free: 46.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001916/2.278, allocations: 121.5 kB / 1.335 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001142/2.279, allocations: 444.4 kB / 1.335 GB, free: 45.83 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/2.279, allocations: 75.02 kB / 1.335 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/2.28, allocations: 481 kB / 1.336 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/2.28, allocations: 0 / 1.336 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/2.28, allocations: 0 / 1.336 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/2.28, allocations: 3.984 kB / 1.336 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/2.282, allocations: 1.103 MB / 1.337 GB, free: 44.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/2.282, allocations: 0 / 1.337 GB, free: 44.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003074/2.285, allocations: 0.4995 MB / 1.337 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-06/2.285, allocations: 0 / 1.337 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/2.286, allocations: 7.984 kB / 1.337 GB, free: 43.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00572/2.291, allocations: 5.553 MB / 1.343 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.291, allocations: 0 / 1.343 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/2.293, allocations: 0.5531 MB / 1.343 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/2.293, allocations: 192 kB / 1.344 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/2.293, allocations: 0 / 1.344 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007622/2.294, allocations: 99.89 kB / 1.344 GB, free: 36.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/2.294, allocations: 19.97 kB / 1.344 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/2.294, allocations: 15.98 kB / 1.344 GB, free: 36.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004447/2.294, allocations: 419.1 kB / 1.344 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/2.294, allocations: 4 kB / 1.344 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001603/2.296, allocations: 483.1 kB / 1.345 GB, free: 35.84 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 (25): * 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): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001987/2.298, allocations: 1.444 MB / 1.346 GB, free: 34.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003593/2.302, allocations: 0.9497 MB / 1.347 GB, free: 33.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/2.302, allocations: 4 kB / 1.347 GB, free: 33.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002672/2.304, allocations: 0.5156 MB / 1.347 GB, free: 32.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/2.306, allocations: 326.9 kB / 1.348 GB, free: 32.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/2.308, allocations: 1.03 MB / 1.349 GB, free: 31.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/2.309, allocations: 0.9633 MB / 1.35 GB, free: 30.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000922/2.309, allocations: 197 kB / 1.35 GB, free: 30.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/2.31, allocations: 295.3 kB / 1.35 GB, free: 30.06 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/2.31, allocations: 0 / 1.35 GB, free: 30.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/2.354, allocations: 25.27 MB / 1.375 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/2.354, allocations: 185.5 kB / 1.375 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/5.146, allocations: 0 / 1.375 GB, free: 4.809 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)