Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.0009075/0.0009075, allocations: 177.8 kB / 8.004 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.4952/0.4952, allocations: 90.91 MB / 99.34 MB, free: 2.176 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.422/1.422, allocations: 221.5 MB / 343.2 MB, free: 1.586 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.000875/0.000875, allocations: 105.7 kB / 416 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.889e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1566, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.185, allocations: 353.4 MB / 0.8987 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.186, allocations: 98.5 kB / 0.8988 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.6548/1.841, allocations: 177.5 MB / 1.072 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.353e-06/1.841, allocations: 0 / 1.072 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.648e-05/1.841, allocations: 15.41 kB / 1.072 GB, free: 157.6 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001293/1.842, allocations: 0.7794 MB / 1.073 GB, free: 157 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.842, allocations: 10.59 kB / 1.073 GB, free: 157 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/1.842, allocations: 59.81 kB / 1.073 GB, free: 157 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007401/1.843, allocations: 453.7 kB / 1.073 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/1.843, allocations: 18.25 kB / 1.073 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/1.843, allocations: 19.22 kB / 1.073 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002499/1.843, allocations: 139.6 kB / 1.074 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/1.844, allocations: 234.1 kB / 1.074 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.844, allocations: 6.5 kB / 1.074 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/1.844, allocations: 0 / 1.074 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.844, allocations: 7.875 kB / 1.074 GB, free: 156.6 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.001658/1.845, allocations: 1.432 MB / 1.075 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/1.846, allocations: 138 kB / 1.075 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/1.846, allocations: 62.08 kB / 1.075 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/1.847, allocations: 1.303 MB / 1.077 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/1.847, allocations: 30.56 kB / 1.077 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/1.847, allocations: 0 / 1.077 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0004582/1.847, allocations: 176 kB / 1.077 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/1.847, allocations: 58.45 kB / 1.077 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/1.848, allocations: 471.6 kB / 1.077 GB, free: 154.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/1.848, allocations: 25.7 kB / 1.077 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/1.848, allocations: 266.5 kB / 1.078 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/1.848, allocations: 54.45 kB / 1.078 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/1.848, allocations: 0 / 1.078 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.366e-05/1.848, allocations: 356 kB / 1.078 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/1.848, allocations: 57.39 kB / 1.078 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/1.848, allocations: 197.6 kB / 1.078 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/1.849, allocations: 104.2 kB / 1.078 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.849, allocations: 3.25 kB / 1.078 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004413/1.849, allocations: 270.8 kB / 1.079 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/1.849, allocations: 0.9647 MB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.849, allocations: 3.844 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.849, allocations: 3.719 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/1.85, allocations: 67.83 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/1.85, allocations: 6.625 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/1.85, allocations: 40.53 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/1.85, allocations: 17.12 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.104e-06/1.85, allocations: 6.469 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000364/1.85, allocations: 193.3 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/1.85, allocations: 3.719 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/1.85, allocations: 5.938 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/1.851, allocations: 65.7 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/1.851, allocations: 6.594 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/1.851, allocations: 41.89 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/1.851, allocations: 19.05 kB / 1.08 GB, free: 152.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 7.67e-05/1.851, allocations: 120 kB / 1.08 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003068/1.851, allocations: 167.2 kB / 1.08 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/1.851, allocations: 45.06 kB / 1.08 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/1.852, allocations: 232.9 kB / 1.081 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.852, allocations: 5.406 kB / 1.081 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.852, allocations: 0 / 1.081 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.852, allocations: 0 / 1.081 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007934/1.853, allocations: 0.6868 MB / 1.081 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.853, allocations: 0 / 1.081 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/1.853, allocations: 33.72 kB / 1.081 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/1.853, allocations: 0 / 1.081 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/1.853, allocations: 3.812 kB / 1.081 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.853, allocations: 7.344 kB / 1.081 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.853, allocations: 2.469 kB / 1.081 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/1.853, allocations: 373.2 kB / 1.082 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/1.854, allocations: 157.1 kB / 1.082 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/1.854, allocations: 3.844 kB / 1.082 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/1.854, allocations: 18.05 kB / 1.082 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/1.854, allocations: 21.38 kB / 1.082 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/1.854, allocations: 3.25 kB / 1.082 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003508/1.854, allocations: 366.6 kB / 1.082 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.31e-07/1.854, allocations: 0 / 1.082 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008412/1.855, allocations: 257.2 kB / 1.083 GB, free: 151.6 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 (17): * Single equations (assignments): 15 * 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.001715/1.857, allocations: 1.646 MB / 1.084 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004276/1.857, allocations: 281 kB / 1.084 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.857, allocations: 0 / 1.084 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.509e-05/1.857, allocations: 74.08 kB / 1.084 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/1.858, allocations: 212.5 kB / 1.085 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/1.86, allocations: 0.6916 MB / 1.085 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/1.86, allocations: 0.8616 MB / 1.086 GB, free: 149.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005153/1.861, allocations: 174.5 kB / 1.086 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/1.861, allocations: 153.5 kB / 1.086 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/1.861, allocations: 0 / 1.086 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03771/1.898, allocations: 14.1 MB / 1.1 GB, free: 148.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.899, allocations: 172.8 kB / 1.1 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/4.089, allocations: 6.812 kB / 1.1 GB, free: 148.1 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)