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.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.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.0007992/0.0007994, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005308/0.005308, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.9182/0.9182, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 8 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1519, allocations: 83.42 MB / 0.598 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.255/0.407, allocations: 16.84 MB / 0.6144 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00483/0.4118, allocations: 4.851 MB / 0.6191 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.4122, allocations: 16.62 kB / 0.6192 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.4128, allocations: 213.2 kB / 0.6194 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009864/0.4138, allocations: 0.5624 MB / 0.6199 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.4151, allocations: 0.6367 MB / 0.6205 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009105/0.4161, allocations: 1.283 MB / 0.6218 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.4164, allocations: 297.4 kB / 0.6221 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004552/0.4169, allocations: 365.5 kB / 0.6224 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.4172, allocations: 304.9 kB / 0.6227 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.4172, allocations: 21.41 kB / 0.6227 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008214/0.418, allocations: 0.6906 MB / 0.6234 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.4181, allocations: 129.7 kB / 0.6235 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.4183, allocations: 242.3 kB / 0.6238 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007164/0.419, allocations: 0.8664 MB / 0.6246 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.419, allocations: 0 / 0.6246 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.419, allocations: 0 / 0.6246 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.419, allocations: 0 / 0.6246 GB, free: 30.55 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.0008884/0.4199, allocations: 0.7995 MB / 0.6254 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.42, allocations: 8.719 kB / 0.6254 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/0.42, allocations: 61.58 kB / 0.6255 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.4202, allocations: 62.16 kB / 0.6255 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.4206, allocations: 445.2 kB / 0.6259 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.4206, allocations: 33.25 kB / 0.626 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.4207, allocations: 26.88 kB / 0.626 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.4211, allocations: 292.4 kB / 0.6263 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4211, allocations: 3.938 kB / 0.6263 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.4211, allocations: 7.031 kB / 0.6263 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4212, allocations: 5.656 kB / 0.6263 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.4215, allocations: 206.5 kB / 0.6265 GB, free: 29.43 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.001334/0.4229, allocations: 1.479 MB / 0.6279 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.4231, allocations: 173.9 kB / 0.6281 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.4233, allocations: 92.44 kB / 0.6282 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.4245, allocations: 1.286 MB / 0.6294 GB, free: 26.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.4245, allocations: 41.78 kB / 0.6295 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.4245, allocations: 0 / 0.6295 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005302/0.425, allocations: 261.9 kB / 0.6297 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.4251, allocations: 57.23 kB / 0.6298 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.4256, allocations: 0.5796 MB / 0.6304 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4256, allocations: 32.77 kB / 0.6304 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4257, allocations: 274.3 kB / 0.6306 GB, free: 26.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.4258, allocations: 55.36 kB / 0.6307 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.4258, allocations: 33.84 kB / 0.6307 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.978e-05/0.4259, allocations: 359.9 kB / 0.6311 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.426, allocations: 76.81 kB / 0.6311 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.4263, allocations: 221 kB / 0.6314 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.4266, allocations: 246.4 kB / 0.6316 GB, free: 25.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4266, allocations: 96 / 0.6316 GB, free: 25.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004705/0.4271, allocations: 328.2 kB / 0.6319 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.4271, allocations: 161.6 kB / 0.6321 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4271, allocations: 2.812 kB / 0.6321 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4272, allocations: 3 kB / 0.6321 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.4274, allocations: 68.31 kB / 0.6321 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4274, allocations: 6.922 kB / 0.6321 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.4277, allocations: 56.33 kB / 0.6322 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.4277, allocations: 19.89 kB / 0.6322 GB, free: 25.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.49e-06/0.4278, allocations: 2.625 kB / 0.6322 GB, free: 25.13 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003983/0.4282, allocations: 250.9 kB / 0.6325 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.4282, allocations: 3.219 kB / 0.6325 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-06/0.4282, allocations: 3.031 kB / 0.6325 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.4284, allocations: 63.64 kB / 0.6325 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4284, allocations: 17.03 kB / 0.6325 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.4287, allocations: 37.36 kB / 0.6326 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.4287, allocations: 14.66 kB / 0.6326 GB, free: 25.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.4289, allocations: 258.7 kB / 0.6328 GB, free: 24.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.4289, allocations: 50.25 kB / 0.6329 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.4294, allocations: 269.5 kB / 0.6331 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.4295, allocations: 2.938 kB / 0.6331 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4295, allocations: 7.375 kB / 0.6331 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4295, allocations: 0 / 0.6331 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008665/0.4303, allocations: 0.7552 MB / 0.6339 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4304, allocations: 0 / 0.6339 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.4305, allocations: 31.77 kB / 0.6339 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.4305, allocations: 2.875 kB / 0.6339 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4305, allocations: 6.875 kB / 0.6339 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4305, allocations: 6.875 kB / 0.6339 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4305, allocations: 0.5625 kB / 0.6339 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.4309, allocations: 366.3 kB / 0.6343 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.4311, allocations: 160.7 kB / 0.6344 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.4311, allocations: 0 / 0.6344 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.4313, allocations: 22.95 kB / 0.6345 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.4314, allocations: 13.42 kB / 0.6345 GB, free: 23.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.4314, allocations: 9.344 kB / 0.6345 GB, free: 23.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003632/0.4318, allocations: 422.7 kB / 0.6349 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4318, allocations: 3.938 kB / 0.6349 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006722/0.4325, allocations: 241.8 kB / 0.6351 GB, free: 23.52 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 (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.001635/0.4341, allocations: 1.277 MB / 0.6364 GB, free: 22.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005798/0.4347, allocations: 330.2 kB / 0.6367 GB, free: 22.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4347, allocations: 4.062 kB / 0.6367 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.4349, allocations: 94.2 kB / 0.6368 GB, free: 22.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.4361, allocations: 257.2 kB / 0.637 GB, free: 22.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.4402, allocations: 4.199 MB / 0.6411 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.4404, allocations: 0.8466 MB / 0.6419 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003116/0.4407, allocations: 98.27 kB / 0.642 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.4409, allocations: 168.9 kB / 0.6422 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.4409, allocations: 0 / 0.6422 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07807/0.519, allocations: 14.3 MB / 0.6562 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.5192, allocations: 264.8 kB / 0.6564 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/2.503, allocations: 0 / 0.6564 GB, free: 17.62 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/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)