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: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006191/0.006191, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.00119/0.00119, allocations: 197.7 kB / 16.67 MB, free: 6.352 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.332 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 1.101/1.101, allocations: 143 MB / 433.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 0.5955 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5745/0.5757, allocations: 82.03 MB / 0.6756 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01928/0.595, allocations: 15.53 MB / 0.6908 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008499/0.6036, allocations: 4.343 MB / 0.695 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008966/0.6045, allocations: 17.75 kB / 0.6951 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.6056, allocations: 264.1 kB / 0.6953 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.6074, allocations: 0.6018 MB / 0.6959 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.6096, allocations: 0.7126 MB / 0.6966 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001672/0.6112, allocations: 1.032 MB / 0.6976 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.6118, allocations: 336.5 kB / 0.6979 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000779/0.6126, allocations: 430.6 kB / 0.6983 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.6131, allocations: 314.6 kB / 0.6986 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/0.6131, allocations: 28 kB / 0.6987 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.6144, allocations: 0.6317 MB / 0.6993 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.6146, allocations: 99.59 kB / 0.6994 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.6148, allocations: 226.7 kB / 0.6996 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.6159, allocations: 0.7926 MB / 0.7004 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6159, allocations: 4 kB / 0.7004 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6159, allocations: 0 / 0.7004 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.616, allocations: 0 / 0.7004 GB, free: 13.05 MB / 0.5294 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.001181/0.6171, allocations: 0.8554 MB / 0.7012 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.6172, allocations: 12.03 kB / 0.7012 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.6173, allocations: 52.61 kB / 0.7013 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006322/0.6179, allocations: 437.9 kB / 0.7017 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.618, allocations: 20.44 kB / 0.7017 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.618, allocations: 24 kB / 0.7017 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.6184, allocations: 215.2 kB / 0.7019 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.6185, allocations: 0 / 0.7019 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.6185, allocations: 12 kB / 0.7019 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.6185, allocations: 7.938 kB / 0.7019 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.6189, allocations: 169.6 kB / 0.7021 GB, free: 11.17 MB / 0.5294 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.001484/0.6204, allocations: 0.9504 MB / 0.703 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.6206, allocations: 138.5 kB / 0.7032 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.6208, allocations: 68.81 kB / 0.7032 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.6211, allocations: 336.4 kB / 0.7036 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.6211, allocations: 34.5 kB / 0.7036 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.6212, allocations: 0 / 0.7036 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.000603/0.6218, allocations: 249.1 kB / 0.7038 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.6218, allocations: 51.41 kB / 0.7039 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.6223, allocations: 481.9 kB / 0.7043 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.6224, allocations: 33.7 kB / 0.7044 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.6226, allocations: 236.8 kB / 0.7046 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.6226, allocations: 39.64 kB / 0.7046 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.6227, allocations: 61.66 kB / 0.7047 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6228, allocations: 358.7 kB / 0.705 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.623, allocations: 80.75 kB / 0.7051 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.6233, allocations: 146.7 kB / 0.7052 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.6237, allocations: 168 kB / 0.7054 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6237, allocations: 0 / 0.7054 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004948/0.6242, allocations: 254.7 kB / 0.7056 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.6242, allocations: 8 kB / 0.7057 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6242, allocations: 0 / 0.7057 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6242, allocations: 0 / 0.7057 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.6245, allocations: 43.97 kB / 0.7057 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.6245, allocations: 4 kB / 0.7057 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.6248, allocations: 39.8 kB / 0.7057 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.6248, allocations: 15.94 kB / 0.7058 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002776/0.6251, allocations: 188.1 kB / 0.7059 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002348/0.6253, allocations: 165.2 kB / 0.7061 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003159/0.6257, allocations: 164.1 kB / 0.7062 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.6257, allocations: 8 kB / 0.7063 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004812/0.6262, allocations: 253.3 kB / 0.7065 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.6262, allocations: 7.938 kB / 0.7065 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6262, allocations: 8 kB / 0.7065 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-06/0.6262, allocations: 0 / 0.7065 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.6264, allocations: 47.91 kB / 0.7066 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.6264, allocations: 4 kB / 0.7066 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.6267, allocations: 31.98 kB / 0.7066 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.6267, allocations: 11.98 kB / 0.7066 GB, free: 6.238 MB / 0.5294 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.0001122/0.6269, allocations: 196.1 kB / 0.7068 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.6269, allocations: 43.72 kB / 0.7068 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.6275, allocations: 269.5 kB / 0.7071 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.6275, allocations: 0 / 0.7071 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6275, allocations: 0 / 0.7071 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6275, allocations: 0 / 0.7071 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.6285, allocations: 0.7045 MB / 0.7078 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6285, allocations: 4.125 kB / 0.7078 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.6287, allocations: 35.91 kB / 0.7078 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6287, allocations: 0 / 0.7078 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.6287, allocations: 8 kB / 0.7078 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6287, allocations: 3.938 kB / 0.7078 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6287, allocations: 4 kB / 0.7078 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004848/0.6292, allocations: 342.5 kB / 0.7082 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.6293, allocations: 140.7 kB / 0.7083 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.6294, allocations: 4 kB / 0.7083 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.6296, allocations: 15.92 kB / 0.7083 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.6297, allocations: 27.91 kB / 0.7083 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.6297, allocations: 4 kB / 0.7083 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003582/0.63, allocations: 330.9 kB / 0.7087 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.63, allocations: 0 / 0.7087 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006478/0.6307, allocations: 203.6 kB / 0.7089 GB, free: 3.816 MB / 0.5294 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.00108/0.6318, allocations: 481.7 kB / 0.7093 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006464/0.6324, allocations: 274.2 kB / 0.7096 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6325, allocations: 3.938 kB / 0.7096 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.6326, allocations: 87.83 kB / 0.7097 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009815/0.6336, allocations: 204.5 kB / 0.7099 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.6348, allocations: 0.7198 MB / 0.7106 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.6352, allocations: 0.823 MB / 0.7114 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.6355, allocations: 87.19 kB / 0.7114 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.6356, allocations: 43.44 kB / 0.7115 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.6356, allocations: 0 / 0.7115 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of Templates: time 0.01772/0.6533, allocations: 8.608 MB / 0.7199 GB, free: 8.719 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)