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.7057/0.7057, allocations: 127.3 MB / 139.8 MB, free: 15.49 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.00104/0.00104, allocations: 192.8 kB / 169.7 MB, free: 1.734 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.576/1.576, allocations: 205.1 MB / 404.5 MB, free: 1.602 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.0009678/0.0009679, allocations: 86.2 kB / 481.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.647e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 76.76 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9669/1.098, allocations: 361.3 MB / 0.9811 GB, free: 172.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.098, allocations: 99.94 kB / 0.9812 GB, free: 172.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9545/2.053, allocations: 356.6 MB / 1.329 GB, free: 61.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.192e-06/2.053, allocations: 0 / 1.329 GB, free: 61.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001188/2.053, allocations: 31.98 kB / 1.329 GB, free: 61.74 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.002402/2.056, allocations: 1.142 MB / 1.331 GB, free: 60.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/2.056, allocations: 12.03 kB / 1.331 GB, free: 60.54 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/2.056, allocations: 86.52 kB / 1.331 GB, free: 60.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008495/2.057, allocations: 178.8 kB / 1.331 GB, free: 60.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/2.058, allocations: 0.6645 MB / 1.332 GB, free: 59.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/2.058, allocations: 64.94 kB / 1.332 GB, free: 59.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/2.058, allocations: 83.95 kB / 1.332 GB, free: 59.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/2.061, allocations: 0.7599 MB / 1.332 GB, free: 58.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/2.061, allocations: 7.938 kB / 1.332 GB, free: 58.63 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/2.061, allocations: 24 kB / 1.332 GB, free: 58.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/2.061, allocations: 12 kB / 1.332 GB, free: 58.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/2.063, allocations: 0.5855 MB / 1.333 GB, free: 58.01 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.003744/2.067, allocations: 2.522 MB / 1.335 GB, free: 55.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/2.069, allocations: 474.5 kB / 1.336 GB, free: 54.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/2.069, allocations: 101.5 kB / 1.336 GB, free: 54.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003845/2.069, allocations: 437.9 kB / 1.336 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/2.069, allocations: 46.5 kB / 1.336 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 3.587e-06/2.069, allocations: 0 / 1.336 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.004028/2.073, allocations: 0.7656 MB / 1.337 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/2.073, allocations: 63.33 kB / 1.337 GB, free: 53.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009881/2.074, allocations: 0.6451 MB / 1.338 GB, free: 52.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002801/2.075, allocations: 41.7 kB / 1.338 GB, free: 52.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/2.075, allocations: 459.9 kB / 1.338 GB, free: 52.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/2.075, allocations: 90.75 kB / 1.338 GB, free: 52.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/2.075, allocations: 8 kB / 1.338 GB, free: 52.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.593e-05/2.075, allocations: 326 kB / 1.339 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/2.076, allocations: 169.1 kB / 1.339 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007956/2.076, allocations: 0.8014 MB / 1.34 GB, free: 50.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/2.077, allocations: 251.7 kB / 1.34 GB, free: 50.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/2.077, allocations: 0 / 1.34 GB, free: 50.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001131/2.078, allocations: 0.5809 MB / 1.341 GB, free: 49.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/2.078, allocations: 0.8002 MB / 1.341 GB, free: 48.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/2.078, allocations: 4 kB / 1.341 GB, free: 48.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/2.078, allocations: 4 kB / 1.341 GB, free: 48.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/2.082, allocations: 0.5191 MB / 1.342 GB, free: 48.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/2.084, allocations: 2.543 MB / 1.344 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/2.086, allocations: 435.5 kB / 1.345 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/2.086, allocations: 39.92 kB / 1.345 GB, free: 45.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/2.086, allocations: 4 kB / 1.345 GB, free: 45.26 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007518/2.087, allocations: 434 kB / 1.345 GB, free: 44.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/2.087, allocations: 4.25 kB / 1.345 GB, free: 44.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/2.087, allocations: 8 kB / 1.345 GB, free: 44.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/2.088, allocations: 163.8 kB / 1.345 GB, free: 44.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/2.088, allocations: 7.938 kB / 1.345 GB, free: 44.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/2.09, allocations: 407.6 kB / 1.346 GB, free: 44.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/2.09, allocations: 27.97 kB / 1.346 GB, free: 44.23 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 (60): * Single equations (assignments): 56 * 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.0002776/2.09, allocations: 149.9 kB / 1.346 GB, free: 44.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/2.09, allocations: 83.02 kB / 1.346 GB, free: 43.99 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009056/2.091, allocations: 434.1 kB / 1.346 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/2.091, allocations: 11.94 kB / 1.346 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/2.091, allocations: 0 / 1.346 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/2.091, allocations: 3.984 kB / 1.346 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/2.093, allocations: 1.083 MB / 1.348 GB, free: 42.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/2.093, allocations: 0 / 1.348 GB, free: 42.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/2.096, allocations: 0.4956 MB / 1.348 GB, free: 41.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/2.096, allocations: 4 kB / 1.348 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/2.096, allocations: 7.984 kB / 1.348 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005963/2.102, allocations: 5.742 MB / 1.354 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/2.102, allocations: 7.984 kB / 1.354 GB, free: 35.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007823/2.103, allocations: 471 kB / 1.354 GB, free: 35.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/2.103, allocations: 199.9 kB / 1.354 GB, free: 34.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/2.103, allocations: 15.98 kB / 1.354 GB, free: 34.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009237/2.104, allocations: 111.7 kB / 1.354 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/2.105, allocations: 27.91 kB / 1.354 GB, free: 34.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/2.105, allocations: 11.98 kB / 1.354 GB, free: 34.76 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006264/2.105, allocations: 0.5187 MB / 1.355 GB, free: 34.24 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.42e-07/2.105, allocations: 0 / 1.355 GB, free: 34.24 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001898/2.107, allocations: 499.4 kB / 1.355 GB, free: 33.75 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.001649/2.109, allocations: 1.338 MB / 1.357 GB, free: 32.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003931/2.113, allocations: 0.987 MB / 1.358 GB, free: 31.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/2.113, allocations: 8.062 kB / 1.358 GB, free: 31.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002673/2.115, allocations: 0.5073 MB / 1.358 GB, free: 30.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/2.118, allocations: 410.6 kB / 1.359 GB, free: 30.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/2.121, allocations: 1.097 MB / 1.36 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/2.121, allocations: 0.9678 MB / 1.361 GB, free: 28.37 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001396/2.122, allocations: 217.8 kB / 1.361 GB, free: 28.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/2.123, allocations: 287.3 kB / 1.361 GB, free: 27.87 MB / 0.6355 GB Notification: Performance of SimCode: time 1.193e-06/2.123, allocations: 3.938 kB / 1.361 GB, free: 27.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3691/2.492, allocations: 30.76 MB / 1.391 GB, free: 122.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/2.492, allocations: 233.3 kB / 1.391 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/5.444, allocations: 0 / 1.391 GB, free: 122.6 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)