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.001176/0.001176, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009853/0.0009857, allocations: 177.3 kB / 15.94 MB, free: 228 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.387/1.387, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.025/1.025, allocations: 143.3 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002975, allocations: 8 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1621, allocations: 83.42 MB / 0.5974 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.3252/0.4874, allocations: 14.72 MB / 0.6117 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005668/0.4931, allocations: 4.226 MB / 0.6159 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.4937, allocations: 13.09 kB / 0.6159 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008789/0.4946, allocations: 235.3 kB / 0.6161 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.4961, allocations: 0.5636 MB / 0.6167 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.4983, allocations: 0.7577 MB / 0.6174 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.4996, allocations: 0.5971 MB / 0.618 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.5, allocations: 259.8 kB / 0.6182 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.5006, allocations: 341.1 kB / 0.6185 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.5009, allocations: 210.7 kB / 0.6187 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.5009, allocations: 14.56 kB / 0.6188 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009831/0.5019, allocations: 460.8 kB / 0.6192 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.971e-05/0.502, allocations: 108.9 kB / 0.6193 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.5021, allocations: 117.2 kB / 0.6194 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.5027, allocations: 0.5627 MB / 0.62 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.5027, allocations: 0 / 0.62 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5027, allocations: 4 kB / 0.62 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.5028, allocations: 0 / 0.62 GB, free: 33.01 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.0009785/0.5037, allocations: 0.7839 MB / 0.6207 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5038, allocations: 12.11 kB / 0.6207 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.5038, allocations: 59.11 kB / 0.6208 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.504, allocations: 65.72 kB / 0.6209 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.5045, allocations: 432.6 kB / 0.6213 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5046, allocations: 23.97 kB / 0.6213 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.5046, allocations: 28.94 kB / 0.6213 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.505, allocations: 282.9 kB / 0.6216 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.505, allocations: 2.844 kB / 0.6216 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.5051, allocations: 14.84 kB / 0.6216 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5051, allocations: 5.875 kB / 0.6216 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.5054, allocations: 199.3 kB / 0.6218 GB, free: 31.75 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.001489/0.5069, allocations: 1.483 MB / 0.6233 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.5072, allocations: 164.3 kB / 0.6234 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.5086, allocations: 1.289 MB / 0.6247 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.5086, allocations: 34.38 kB / 0.6247 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.5086, allocations: 0 / 0.6247 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005545/0.5091, allocations: 261.4 kB / 0.625 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.5092, allocations: 65.77 kB / 0.625 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/0.5097, allocations: 0.5803 MB / 0.6256 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.5097, allocations: 32.3 kB / 0.6256 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.5099, allocations: 270.4 kB / 0.6259 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.5099, allocations: 54.23 kB / 0.6259 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.5099, allocations: 4 kB / 0.6259 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.51, allocations: 362.5 kB / 0.6263 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.5102, allocations: 72.91 kB / 0.6263 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.5104, allocations: 211.4 kB / 0.6266 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.5106, allocations: 108.2 kB / 0.6267 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5106, allocations: 2.562 kB / 0.6267 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004827/0.5111, allocations: 319.1 kB / 0.627 GB, free: 27.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.5113, allocations: 0.9569 MB / 0.6279 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5113, allocations: 2.969 kB / 0.6279 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.5113, allocations: 2.812 kB / 0.6279 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.5116, allocations: 75.83 kB / 0.628 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.5116, allocations: 5.562 kB / 0.628 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.5119, allocations: 50.83 kB / 0.628 GB, free: 26.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.5119, allocations: 26.98 kB / 0.6281 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/0.512, allocations: 5.188 kB / 0.6281 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004123/0.5124, allocations: 241.1 kB / 0.6283 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.5124, allocations: 7.188 kB / 0.6283 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/0.5124, allocations: 7.094 kB / 0.6283 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.5126, allocations: 64.84 kB / 0.6284 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.5126, allocations: 3.062 kB / 0.6284 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.5129, allocations: 43.25 kB / 0.6284 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.5129, allocations: 17.95 kB / 0.6284 GB, free: 26.68 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.0001647/0.5131, allocations: 260.5 kB / 0.6287 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.5132, allocations: 54.11 kB / 0.6287 GB, free: 26.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.5137, allocations: 276.2 kB / 0.629 GB, free: 26.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5137, allocations: 2.969 kB / 0.629 GB, free: 26.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5137, allocations: 0 / 0.629 GB, free: 26.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5137, allocations: 7.281 kB / 0.629 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008482/0.5146, allocations: 0.7372 MB / 0.6297 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.5146, allocations: 0 / 0.6297 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.5147, allocations: 33.95 kB / 0.6297 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5147, allocations: 6.766 kB / 0.6298 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.5147, allocations: 7 kB / 0.6298 GB, free: 25.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5147, allocations: 128 / 0.6298 GB, free: 25.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5148, allocations: 14.23 kB / 0.6298 GB, free: 25.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.5151, allocations: 401.8 kB / 0.6302 GB, free: 25.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.5153, allocations: 154.1 kB / 0.6303 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.5154, allocations: 6.156 kB / 0.6303 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.5156, allocations: 26.91 kB / 0.6303 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.5156, allocations: 12.95 kB / 0.6303 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.5156, allocations: 8.891 kB / 0.6304 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003622/0.516, allocations: 416.7 kB / 0.6308 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.516, allocations: 0 / 0.6308 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007095/0.5167, allocations: 229.4 kB / 0.631 GB, free: 25.12 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.001553/0.5183, allocations: 1.606 MB / 0.6325 GB, free: 23.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006252/0.5189, allocations: 341.1 kB / 0.6329 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5189, allocations: 0 / 0.6329 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.5191, allocations: 92.58 kB / 0.633 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.5203, allocations: 255.6 kB / 0.6332 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.5221, allocations: 2.95 MB / 0.6361 GB, free: 21.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.5224, allocations: 0.8516 MB / 0.6369 GB, free: 20.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003394/0.5227, allocations: 99.92 kB / 0.637 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.5229, allocations: 161.7 kB / 0.6372 GB, free: 20.36 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.5229, allocations: 4 kB / 0.6372 GB, free: 20.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03421/0.5571, allocations: 14.14 MB / 0.651 GB, free: 19.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.5573, allocations: 239.5 kB / 0.6512 GB, free: 19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.713, allocations: 3.75 kB / 0.6512 GB, free: 19 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: