Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.TwoWayValvesTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.000712/0.000712, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004154/0.004154, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8992/0.8992, allocations: 143.2 MB / 434.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 8 kB / 0.5165 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 83.41 MB / 0.598 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.2687/0.4137, allocations: 14.94 MB / 0.6126 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004575/0.4183, allocations: 4.3 MB / 0.6168 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.4187, allocations: 13.31 kB / 0.6168 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006842/0.4194, allocations: 217.4 kB / 0.617 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.4205, allocations: 0.5604 MB / 0.6175 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.4218, allocations: 0.6282 MB / 0.6181 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009732/0.4228, allocations: 1.309 MB / 0.6194 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.4231, allocations: 292.3 kB / 0.6197 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004505/0.4236, allocations: 371.5 kB / 0.6201 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.4238, allocations: 313.4 kB / 0.6204 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.4239, allocations: 19.69 kB / 0.6204 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000722/0.4246, allocations: 0.5966 MB / 0.621 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.4247, allocations: 89.53 kB / 0.621 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.4248, allocations: 238.8 kB / 0.6213 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.4255, allocations: 0.7494 MB / 0.622 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4255, allocations: 0 / 0.622 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4255, allocations: 0 / 0.622 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.4255, allocations: 0 / 0.622 GB, free: 31.26 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008243/0.4263, allocations: 0.7503 MB / 0.6227 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.4264, allocations: 9.562 kB / 0.6227 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.4264, allocations: 60.47 kB / 0.6228 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.4265, allocations: 54.31 kB / 0.6229 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.4269, allocations: 418.7 kB / 0.6233 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4269, allocations: 20.34 kB / 0.6233 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.4269, allocations: 29.72 kB / 0.6233 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.4273, allocations: 220.3 kB / 0.6235 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4273, allocations: 0 / 0.6235 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.4273, allocations: 10.34 kB / 0.6235 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4273, allocations: 5.438 kB / 0.6235 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.4277, allocations: 182.3 kB / 0.6237 GB, free: 30.29 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.001244/0.4289, allocations: 0.9469 MB / 0.6246 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.4292, allocations: 136.7 kB / 0.6248 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.4293, allocations: 78.53 kB / 0.6248 GB, free: 29.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.4295, allocations: 334.9 kB / 0.6251 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.4295, allocations: 41.41 kB / 0.6252 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.4295, allocations: 0 / 0.6252 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005343/0.43, allocations: 260.4 kB / 0.6254 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.4301, allocations: 51.41 kB / 0.6255 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.4305, allocations: 480.7 kB / 0.6259 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4305, allocations: 31.73 kB / 0.626 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.4306, allocations: 228.2 kB / 0.6262 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.4306, allocations: 53.81 kB / 0.6262 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.4307, allocations: 25.12 kB / 0.6263 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.084e-05/0.4307, allocations: 353.9 kB / 0.6266 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.4309, allocations: 73.25 kB / 0.6267 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.4311, allocations: 160.8 kB / 0.6268 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.4314, allocations: 175.8 kB / 0.627 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4315, allocations: 0 / 0.627 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000427/0.4319, allocations: 259.8 kB / 0.6272 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.4319, allocations: 119.7 kB / 0.6274 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4319, allocations: 3.625 kB / 0.6274 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.432, allocations: 0 / 0.6274 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.4322, allocations: 48.22 kB / 0.6274 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4322, allocations: 6.844 kB / 0.6274 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.4325, allocations: 48.67 kB / 0.6275 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.4325, allocations: 5.594 kB / 0.6275 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-06/0.4325, allocations: 5.594 kB / 0.6275 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003501/0.4329, allocations: 194.4 kB / 0.6277 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.4329, allocations: 8 kB / 0.6277 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-06/0.4329, allocations: 0 / 0.6277 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.4331, allocations: 43.8 kB / 0.6277 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.4331, allocations: 5.656 kB / 0.6277 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.4334, allocations: 44.7 kB / 0.6278 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.4334, allocations: 12.03 kB / 0.6278 GB, free: 28.27 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.4336, allocations: 239.3 kB / 0.628 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.4336, allocations: 42.84 kB / 0.628 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.4341, allocations: 267.1 kB / 0.6283 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4341, allocations: 0 / 0.6283 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4341, allocations: 0 / 0.6283 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4341, allocations: 2.656 kB / 0.6283 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/0.4349, allocations: 0.7226 MB / 0.629 GB, free: 27.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4349, allocations: 2.531 kB / 0.629 GB, free: 27.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.435, allocations: 38.06 kB / 0.629 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.435, allocations: 2.938 kB / 0.629 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.435, allocations: 2.656 kB / 0.629 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.435, allocations: 2.188 kB / 0.629 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.435, allocations: 7.875 kB / 0.629 GB, free: 27.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.4354, allocations: 351.5 kB / 0.6294 GB, free: 27.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/0.4355, allocations: 147.3 kB / 0.6295 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.4356, allocations: 7.188 kB / 0.6295 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.4358, allocations: 22.47 kB / 0.6296 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.4358, allocations: 21.53 kB / 0.6296 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4358, allocations: 9.656 kB / 0.6296 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000254/0.4361, allocations: 329.8 kB / 0.6299 GB, free: 26.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4361, allocations: 0 / 0.6299 GB, free: 26.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005541/0.4367, allocations: 207 kB / 0.6301 GB, free: 26.89 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001366/0.438, allocations: 1.271 MB / 0.6313 GB, free: 26.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.4386, allocations: 282.4 kB / 0.6316 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4386, allocations: 0 / 0.6316 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.4388, allocations: 89.59 kB / 0.6317 GB, free: 25.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.44, allocations: 223.2 kB / 0.6319 GB, free: 25.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/0.4434, allocations: 3.563 MB / 0.6354 GB, free: 23.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.4436, allocations: 0.8286 MB / 0.6362 GB, free: 22.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.4439, allocations: 83.89 kB / 0.6363 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.4441, allocations: 146.4 kB / 0.6364 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.4441, allocations: 0 / 0.6364 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.4671, allocations: 12.27 MB / 0.6484 GB, free: 21.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/0.4673, allocations: 261.8 kB / 0.6486 GB, free: 21.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.406, allocations: 0 / 0.6486 GB, free: 21.51 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)