Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.001563/0.001563, allocations: 180.9 kB / 8.006 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.4888/0.4888, allocations: 90.91 MB / 99.34 MB, free: 2.16 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.411/1.411, allocations: 221.5 MB / 343.2 MB, free: 1.617 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.0009096/0.0009095, allocations: 92.91 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.957e-05, allocations: 0 / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1473, allocations: 72.32 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.239, allocations: 348.9 MB / 0.8943 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/1.24, allocations: 95.06 kB / 0.8944 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.6738/1.913, allocations: 177.2 MB / 1.067 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.773e-06/1.913, allocations: 0 / 1.067 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.922e-05/1.913, allocations: 18.33 kB / 1.067 GB, free: 161.9 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001265/1.915, allocations: 0.7412 MB / 1.068 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.915, allocations: 11.38 kB / 1.068 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/1.915, allocations: 52.91 kB / 1.068 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/1.916, allocations: 433.2 kB / 1.069 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/1.916, allocations: 7.75 kB / 1.069 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/1.916, allocations: 18.88 kB / 1.069 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002442/1.916, allocations: 126.2 kB / 1.069 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/1.916, allocations: 165.7 kB / 1.069 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.916, allocations: 0 / 1.069 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.916, allocations: 2.062 kB / 1.069 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.916, allocations: 7.906 kB / 1.069 GB, free: 161.1 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.001491/1.918, allocations: 0.8871 MB / 1.07 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/1.918, allocations: 109.5 kB / 1.07 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/1.918, allocations: 55.08 kB / 1.07 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/1.918, allocations: 338.2 kB / 1.07 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/1.918, allocations: 37.31 kB / 1.07 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.934e-06/1.918, allocations: 3.938 kB / 1.07 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0004308/1.919, allocations: 163.5 kB / 1.07 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/1.919, allocations: 59.31 kB / 1.071 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/1.919, allocations: 356.2 kB / 1.071 GB, free: 160 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/1.919, allocations: 33.47 kB / 1.071 GB, free: 160 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/1.919, allocations: 227 kB / 1.071 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/1.919, allocations: 57.45 kB / 1.071 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/1.919, allocations: 0 / 1.071 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/1.919, allocations: 347.9 kB / 1.072 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/1.92, allocations: 46.97 kB / 1.072 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/1.92, allocations: 156 kB / 1.072 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/1.92, allocations: 76.3 kB / 1.072 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.92, allocations: 0 / 1.072 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003634/1.92, allocations: 218.7 kB / 1.072 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/1.92, allocations: 280.2 kB / 1.072 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/1.92, allocations: 3.656 kB / 1.072 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.92, allocations: 0 / 1.072 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/1.921, allocations: 49.52 kB / 1.072 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/1.921, allocations: 3.422 kB / 1.072 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/1.921, allocations: 42.88 kB / 1.072 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/1.921, allocations: 14.77 kB / 1.072 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/1.921, allocations: 3.719 kB / 1.072 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002922/1.921, allocations: 140 kB / 1.073 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/1.921, allocations: 7.031 kB / 1.073 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.428e-06/1.921, allocations: 3.219 kB / 1.073 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/1.922, allocations: 50.73 kB / 1.073 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/1.922, allocations: 3.719 kB / 1.073 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/1.922, allocations: 36.88 kB / 1.073 GB, free: 159 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/1.922, allocations: 10.73 kB / 1.073 GB, free: 159 MB / 0.5886 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 (24): * Single equations (assignments): 24 * 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.145e-05/1.922, allocations: 110.2 kB / 1.073 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002754/1.922, allocations: 159.8 kB / 1.073 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/1.922, allocations: 37.03 kB / 1.073 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/1.923, allocations: 213.4 kB / 1.073 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/1.923, allocations: 11.16 kB / 1.073 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.923, allocations: 3.953 kB / 1.073 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.923, allocations: 3.891 kB / 1.073 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008036/1.924, allocations: 0.6238 MB / 1.074 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.924, allocations: 3.656 kB / 1.074 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/1.924, allocations: 28.09 kB / 1.074 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/1.924, allocations: 7.688 kB / 1.074 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/1.924, allocations: 7.828 kB / 1.074 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.924, allocations: 2.75 kB / 1.074 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.924, allocations: 0 / 1.074 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/1.924, allocations: 359.2 kB / 1.074 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/1.924, allocations: 137 kB / 1.074 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/1.925, allocations: 2.969 kB / 1.074 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/1.925, allocations: 28.56 kB / 1.074 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/1.925, allocations: 21.8 kB / 1.074 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/1.925, allocations: 3.969 kB / 1.074 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002837/1.925, allocations: 281.1 kB / 1.075 GB, free: 158 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.8e-07/1.925, allocations: 1.688 kB / 1.075 GB, free: 158 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007808/1.926, allocations: 221.3 kB / 1.075 GB, free: 158 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001673/1.928, allocations: 1.592 MB / 1.076 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003928/1.928, allocations: 232.6 kB / 1.077 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.928, allocations: 0 / 1.077 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/1.928, allocations: 71.17 kB / 1.077 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/1.929, allocations: 184 kB / 1.077 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/1.931, allocations: 0.6062 MB / 1.077 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/1.931, allocations: 0.8354 MB / 1.078 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004447/1.932, allocations: 116.2 kB / 1.078 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/1.932, allocations: 131.5 kB / 1.078 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.814e-06/1.932, allocations: 0 / 1.078 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03635/1.968, allocations: 12.02 MB / 1.09 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.968, allocations: 170 kB / 1.09 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/4.206, allocations: 0 / 1.09 GB, free: 155.1 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)