Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.1/1.1, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004488, allocations: 16 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2313, allocations: 83.41 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.442/0.6734, allocations: 15.98 MB / 0.6132 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005863/0.6793, allocations: 4.604 MB / 0.6177 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005654/0.6799, allocations: 12.59 kB / 0.6177 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000836/0.6808, allocations: 189.9 kB / 0.6178 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.682, allocations: 0.494 MB / 0.6183 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.6838, allocations: 0.6007 MB / 0.6189 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.6851, allocations: 1.094 MB / 0.62 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.6855, allocations: 256 kB / 0.6202 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.6861, allocations: 364.3 kB / 0.6206 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.6865, allocations: 290.8 kB / 0.6209 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.6866, allocations: 16.5 kB / 0.6209 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.6876, allocations: 0.5919 MB / 0.6214 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.6877, allocations: 117.1 kB / 0.6216 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.6878, allocations: 107.6 kB / 0.6217 GB, free: 32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006198/0.6885, allocations: 0.6154 MB / 0.6223 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.882e-06/0.6885, allocations: 7.938 kB / 0.6223 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6885, allocations: 3.328 kB / 0.6223 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.6885, allocations: 0 / 0.6223 GB, free: 31.83 MB / 0.4981 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.0009643/0.6895, allocations: 0.7918 MB / 0.623 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.6895, allocations: 8.844 kB / 0.6231 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.6896, allocations: 66.92 kB / 0.6231 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.6897, allocations: 57.73 kB / 0.6232 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.6903, allocations: 432 kB / 0.6236 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.6903, allocations: 22.12 kB / 0.6236 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.6903, allocations: 28.08 kB / 0.6236 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.6908, allocations: 293.4 kB / 0.6239 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6908, allocations: 0 / 0.6239 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.6908, allocations: 10.97 kB / 0.6239 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.6909, allocations: 6.719 kB / 0.6239 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.6912, allocations: 201 kB / 0.6241 GB, free: 30.56 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001425/0.6926, allocations: 1.489 MB / 0.6256 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.6929, allocations: 159.7 kB / 0.6257 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.6931, allocations: 95.77 kB / 0.6258 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.6944, allocations: 1.287 MB / 0.6271 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.6944, allocations: 30.56 kB / 0.6271 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.6944, allocations: 0 / 0.6271 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005384/0.6949, allocations: 274.6 kB / 0.6274 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.695, allocations: 57.97 kB / 0.6274 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.6955, allocations: 0.5754 MB / 0.628 GB, free: 27.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.6956, allocations: 36.7 kB / 0.628 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.6957, allocations: 270.6 kB / 0.6283 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.6958, allocations: 52.19 kB / 0.6283 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.6958, allocations: 6.781 kB / 0.6283 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.6959, allocations: 357.1 kB / 0.6287 GB, free: 27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.696, allocations: 74.03 kB / 0.6287 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.6963, allocations: 218.2 kB / 0.629 GB, free: 26.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.6965, allocations: 109.7 kB / 0.6291 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6965, allocations: 3.938 kB / 0.6291 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004861/0.697, allocations: 312.2 kB / 0.6294 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.6971, allocations: 170 kB / 0.6295 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.6971, allocations: 7.938 kB / 0.6295 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.6971, allocations: 6.047 kB / 0.6295 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.6973, allocations: 60.34 kB / 0.6296 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.6974, allocations: 5.969 kB / 0.6296 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.6977, allocations: 57.84 kB / 0.6297 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.6977, allocations: 9.562 kB / 0.6297 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.141e-06/0.6977, allocations: 5.406 kB / 0.6297 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004684/0.6982, allocations: 247.1 kB / 0.6299 GB, free: 26.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6982, allocations: 6.531 kB / 0.6299 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/0.6982, allocations: 2.812 kB / 0.6299 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.6984, allocations: 65.86 kB / 0.63 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6985, allocations: 10.05 kB / 0.63 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.6987, allocations: 41.72 kB / 0.63 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.6988, allocations: 14.03 kB / 0.63 GB, free: 26.3 MB / 0.4981 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 () * Number of clocked 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 0.0001762/0.6989, allocations: 265.8 kB / 0.6303 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.699, allocations: 53.97 kB / 0.6303 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.6995, allocations: 271.3 kB / 0.6306 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.6995, allocations: 0 / 0.6306 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6995, allocations: 6.047 kB / 0.6306 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6995, allocations: 0 / 0.6306 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008383/0.7004, allocations: 0.7473 MB / 0.6313 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7004, allocations: 4.125 kB / 0.6313 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.7005, allocations: 42.05 kB / 0.6314 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7005, allocations: 2.906 kB / 0.6314 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.7006, allocations: 3.312 kB / 0.6314 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.7006, allocations: 0 / 0.6314 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7006, allocations: 2.969 kB / 0.6314 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.701, allocations: 368.6 kB / 0.6317 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.7011, allocations: 153.6 kB / 0.6319 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.7011, allocations: 10.97 kB / 0.6319 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.7013, allocations: 18.92 kB / 0.6319 GB, free: 25.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.7014, allocations: 17.06 kB / 0.6319 GB, free: 25.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.7014, allocations: 5.656 kB / 0.6319 GB, free: 25.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003868/0.7018, allocations: 416.5 kB / 0.6323 GB, free: 24.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7018, allocations: 4 kB / 0.6323 GB, free: 24.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007103/0.7025, allocations: 228.3 kB / 0.6326 GB, free: 24.8 MB / 0.4981 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 () * Number of clocked 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.001519/0.7041, allocations: 1.289 MB / 0.6338 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006043/0.7047, allocations: 332 kB / 0.6341 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7047, allocations: 192 / 0.6341 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.7049, allocations: 92.33 kB / 0.6342 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.7061, allocations: 257.8 kB / 0.6345 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.7095, allocations: 2.71 MB / 0.6371 GB, free: 22.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.7098, allocations: 0.847 MB / 0.6379 GB, free: 21.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003669/0.7102, allocations: 94.41 kB / 0.638 GB, free: 21.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.7104, allocations: 167.8 kB / 0.6382 GB, free: 21.51 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.7104, allocations: 0 / 0.6382 GB, free: 21.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.7464, allocations: 14.39 MB / 0.6522 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.7466, allocations: 253.5 kB / 0.6525 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.17, allocations: 0 / 0.6525 GB, free: 20.09 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: