Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5008/0.5008, allocations: 90.92 MB / 99.35 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008616/0.0008613, allocations: 103.3 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.069e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1416, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.236, allocations: 351 MB / 0.8964 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.237, allocations: 90.64 kB / 0.8965 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.519/2.756, allocations: 434.3 MB / 1.321 GB, free: 110 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.292e-06/2.756, allocations: 2.719 kB / 1.321 GB, free: 110 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001378/2.756, allocations: 44.09 kB / 1.321 GB, free: 110 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002878/2.759, allocations: 1.323 MB / 1.322 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/2.759, allocations: 9.906 kB / 1.322 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006754/2.76, allocations: 150.6 kB / 1.322 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/2.762, allocations: 0.8177 MB / 1.323 GB, free: 109 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/2.762, allocations: 20.69 kB / 1.323 GB, free: 109 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/2.762, allocations: 78.25 kB / 1.323 GB, free: 109 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006641/2.763, allocations: 397.3 kB / 1.323 GB, free: 109 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/2.764, allocations: 0.5144 MB / 1.324 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/2.764, allocations: 3.938 kB / 1.324 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/2.764, allocations: 0 / 1.324 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/2.764, allocations: 13.69 kB / 1.324 GB, free: 108.9 MB / 0.5886 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.004421/2.768, allocations: 2.928 MB / 1.327 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/2.769, allocations: 306.9 kB / 1.327 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/2.769, allocations: 131.6 kB / 1.327 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/2.769, allocations: 352.9 kB / 1.328 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/2.769, allocations: 44.17 kB / 1.328 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/2.769, allocations: 0 / 1.328 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.00129/2.77, allocations: 477 kB / 1.328 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/2.77, allocations: 56.47 kB / 1.328 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007191/2.771, allocations: 0.639 MB / 1.329 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/2.771, allocations: 33.2 kB / 1.329 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/2.772, allocations: 0.5416 MB / 1.329 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/2.772, allocations: 106.7 kB / 1.329 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/2.772, allocations: 2.188 kB / 1.329 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/2.772, allocations: 330 kB / 1.33 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/2.772, allocations: 148.9 kB / 1.33 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/2.773, allocations: 1.367 MB / 1.331 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/2.774, allocations: 380.8 kB / 1.332 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/2.774, allocations: 2.219 kB / 1.332 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001379/2.775, allocations: 0.6469 MB / 1.332 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/2.776, allocations: 0.8084 MB / 1.333 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/2.776, allocations: 6.734 kB / 1.333 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/2.776, allocations: 10.48 kB / 1.333 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/2.777, allocations: 210.5 kB / 1.333 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/2.778, allocations: 2.982 MB / 1.336 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/2.781, allocations: 0.8763 MB / 1.337 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/2.781, allocations: 29.44 kB / 1.337 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/2.781, allocations: 2.719 kB / 1.337 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/2.782, allocations: 489.3 kB / 1.337 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/2.782, allocations: 3.906 kB / 1.337 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/2.782, allocations: 3.75 kB / 1.337 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/2.783, allocations: 162.4 kB / 1.338 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/2.783, allocations: 3.875 kB / 1.338 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/2.786, allocations: 0.8687 MB / 1.338 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/2.786, allocations: 26.59 kB / 1.338 GB, free: 101.3 MB / 0.5886 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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003027/2.787, allocations: 137.5 kB / 1.339 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001025/2.788, allocations: 434.9 kB / 1.339 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/2.788, allocations: 89.77 kB / 1.339 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/2.789, allocations: 0.5409 MB / 1.34 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/2.789, allocations: 3.938 kB / 1.34 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/2.789, allocations: 0 / 1.34 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/2.789, allocations: 3.609 kB / 1.34 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/2.791, allocations: 1.231 MB / 1.341 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/2.791, allocations: 0 / 1.341 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/2.792, allocations: 115.2 kB / 1.341 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/2.792, allocations: 3.812 kB / 1.341 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/2.792, allocations: 6.5 kB / 1.341 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008392/2.793, allocations: 2.95 MB / 1.344 GB, free: 97.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/2.793, allocations: 0 / 1.344 GB, free: 97.71 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/2.794, allocations: 0.66 MB / 1.344 GB, free: 97.41 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/2.794, allocations: 214.7 kB / 1.345 GB, free: 97.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/2.794, allocations: 6.891 kB / 1.345 GB, free: 97.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/2.795, allocations: 62.52 kB / 1.345 GB, free: 97.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/2.795, allocations: 29.06 kB / 1.345 GB, free: 97.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/2.795, allocations: 16.17 kB / 1.345 GB, free: 97.26 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004954/2.795, allocations: 488 kB / 1.345 GB, free: 97.15 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/2.795, allocations: 2.812 kB / 1.345 GB, free: 97.15 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001921/2.797, allocations: 0.5831 MB / 1.346 GB, free: 97.06 MB / 0.5886 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002094/2.8, allocations: 1.858 MB / 1.348 GB, free: 95.92 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002022/2.802, allocations: 0.7479 MB / 1.348 GB, free: 95.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/2.802, allocations: 2.219 kB / 1.348 GB, free: 95.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/2.802, allocations: 203.8 kB / 1.349 GB, free: 95.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/2.804, allocations: 380.8 kB / 1.349 GB, free: 95.89 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/2.806, allocations: 1.253 MB / 1.35 GB, free: 95.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/2.807, allocations: 1.051 MB / 1.351 GB, free: 94.71 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001209/2.808, allocations: 250 kB / 1.351 GB, free: 94.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/2.808, allocations: 346 kB / 1.352 GB, free: 94.69 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/2.808, allocations: 0 / 1.352 GB, free: 94.69 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05733/2.866, allocations: 32.11 MB / 1.383 GB, free: 85.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/2.866, allocations: 170 kB / 1.383 GB, free: 84.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/5.886, allocations: 3.938 kB / 1.383 GB, free: 84.9 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)