Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.001266/0.001267, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001528/0.001528, allocations: 172.7 kB / 15.95 MB, free: 208 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.575/1.575, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.23/1.23, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1841, allocations: 83.41 MB / 0.5975 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.603/0.7873, allocations: 17.77 MB / 0.6149 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007226/0.7946, allocations: 4.86 MB / 0.6196 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009656/0.7956, allocations: 17.03 kB / 0.6197 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007777/0.7964, allocations: 181.4 kB / 0.6198 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.7985, allocations: 0.6163 MB / 0.6204 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.8005, allocations: 0.7423 MB / 0.6212 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.8025, allocations: 1.683 MB / 0.6228 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.8031, allocations: 409.1 kB / 0.6232 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009541/0.8041, allocations: 0.5309 MB / 0.6237 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.8046, allocations: 0.4897 MB / 0.6242 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.922e-05/0.8047, allocations: 33.28 kB / 0.6242 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.8059, allocations: 0.6058 MB / 0.6248 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.806, allocations: 125.9 kB / 0.6249 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.8062, allocations: 152.2 kB / 0.6251 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.807, allocations: 0.7724 MB / 0.6258 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.807, allocations: 2.562 kB / 0.6258 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.807, allocations: 0 / 0.6258 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.807, allocations: 0 / 0.6258 GB, free: 29.75 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001554/0.8086, allocations: 1 MB / 0.6268 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.8086, allocations: 8.5 kB / 0.6268 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.688e-05/0.8088, allocations: 84.36 kB / 0.6269 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.8089, allocations: 78.73 kB / 0.627 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000639/0.8095, allocations: 0.4916 MB / 0.6275 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.8096, allocations: 38.56 kB / 0.6275 GB, free: 28.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.8096, allocations: 50.88 kB / 0.6275 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.8106, allocations: 0.6337 MB / 0.6282 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.8106, allocations: 7.875 kB / 0.6282 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.8107, allocations: 23.14 kB / 0.6282 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.8107, allocations: 15.09 kB / 0.6282 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.8117, allocations: 0.5123 MB / 0.6287 GB, free: 28 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.002717/0.8144, allocations: 3.214 MB / 0.6318 GB, free: 25.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/0.8151, allocations: 353.8 kB / 0.6322 GB, free: 25.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/0.8155, allocations: 244.4 kB / 0.6324 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.8158, allocations: 353.9 kB / 0.6327 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.8159, allocations: 33.31 kB / 0.6328 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.805e-06/0.8159, allocations: 0 / 0.6328 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001961/0.8178, allocations: 0.8643 MB / 0.6336 GB, free: 24.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.8179, allocations: 62.06 kB / 0.6337 GB, free: 24.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.8185, allocations: 0.5762 MB / 0.6342 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.8185, allocations: 36.8 kB / 0.6343 GB, free: 24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.8187, allocations: 331.5 kB / 0.6346 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.8188, allocations: 126.7 kB / 0.6347 GB, free: 23.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.8188, allocations: 10.72 kB / 0.6347 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8189, allocations: 376.2 kB / 0.6351 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.8194, allocations: 219.7 kB / 0.6353 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.8199, allocations: 378.1 kB / 0.6357 GB, free: 22.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.8204, allocations: 258.7 kB / 0.6359 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8204, allocations: 0 / 0.6359 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001273/0.8216, allocations: 0.7309 MB / 0.6366 GB, free: 22.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.8218, allocations: 218 kB / 0.6368 GB, free: 22.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8218, allocations: 3.125 kB / 0.6368 GB, free: 22.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/0.8224, allocations: 151.8 kB / 0.637 GB, free: 22.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/0.823, allocations: 165.7 kB / 0.6371 GB, free: 22.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005099/0.8235, allocations: 0.6333 MB / 0.6377 GB, free: 21.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.8241, allocations: 107.8 kB / 0.6379 GB, free: 21.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.8242, allocations: 33.38 kB / 0.6379 GB, free: 21.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.8242, allocations: 4.469 kB / 0.6379 GB, free: 21.65 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00111/0.8253, allocations: 0.619 MB / 0.6385 GB, free: 21.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8253, allocations: 5.75 kB / 0.6385 GB, free: 21.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.455e-06/0.8254, allocations: 5.812 kB / 0.6385 GB, free: 21.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.8259, allocations: 166.3 kB / 0.6387 GB, free: 21.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.8259, allocations: 16.38 kB / 0.6387 GB, free: 21.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.8264, allocations: 88.38 kB / 0.6388 GB, free: 21.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.8265, allocations: 33.52 kB / 0.6388 GB, free: 21.38 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003164/0.8268, allocations: 275.8 kB / 0.6391 GB, free: 21.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.8269, allocations: 66.53 kB / 0.6391 GB, free: 21.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.8283, allocations: 0.6679 MB / 0.6398 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.8283, allocations: 5.25 kB / 0.6398 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8283, allocations: 4 kB / 0.6398 GB, free: 20.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.8283, allocations: 3.281 kB / 0.6398 GB, free: 20.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.8304, allocations: 1.4 MB / 0.6412 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.8305, allocations: 2.625 kB / 0.6412 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.8308, allocations: 93.27 kB / 0.6412 GB, free: 20.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/0.8312, allocations: 124.4 kB / 0.6414 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.8312, allocations: 16.72 kB / 0.6414 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004636/0.8317, allocations: 0.6358 MB / 0.642 GB, free: 19.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8317, allocations: 0 / 0.642 GB, free: 19.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.8328, allocations: 0.7366 MB / 0.6427 GB, free: 19.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.8331, allocations: 207.3 kB / 0.6429 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.8332, allocations: 6.469 kB / 0.6429 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.8336, allocations: 61.38 kB / 0.643 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.8337, allocations: 30.3 kB / 0.643 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.8337, allocations: 20.44 kB / 0.643 GB, free: 18.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004197/0.8342, allocations: 399.2 kB / 0.6434 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.723e-06/0.8342, allocations: 0 / 0.6434 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001214/0.8354, allocations: 392.7 kB / 0.6438 GB, free: 18.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002066/0.8375, allocations: 1.476 MB / 0.6452 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.8395, allocations: 0.9102 MB / 0.6461 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8395, allocations: 5.188 kB / 0.6461 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.8402, allocations: 300.5 kB / 0.6464 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.8417, allocations: 254.6 kB / 0.6466 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006324/0.8481, allocations: 3.803 MB / 0.6504 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.8485, allocations: 0.9079 MB / 0.6512 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007065/0.8492, allocations: 153 kB / 0.6514 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.8495, allocations: 244.9 kB / 0.6516 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.8495, allocations: 0 / 0.6516 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05094/0.9005, allocations: 17.92 MB / 0.6691 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/0.9009, allocations: 291.6 kB / 0.6694 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.536, allocations: 0 / 0.6694 GB, free: 11.37 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: