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.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001696/0.001696, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.8555/0.8555, allocations: 143 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.16 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1821, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0343/0.2164, allocations: 19.44 MB / 0.6953 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01246/0.2289, allocations: 5.157 MB / 0.7003 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.23, allocations: 19.88 kB / 0.7004 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.2312, allocations: 274 kB / 0.7006 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.2344, allocations: 0.8043 MB / 0.7014 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003689/0.2381, allocations: 0.8749 MB / 0.7023 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003242/0.2414, allocations: 1.549 MB / 0.7038 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.2427, allocations: 0.5288 MB / 0.7043 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.2445, allocations: 0.6305 MB / 0.7049 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.2458, allocations: 0.5329 MB / 0.7054 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.246, allocations: 56 kB / 0.7055 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.2483, allocations: 0.7018 MB / 0.7062 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.2487, allocations: 163.4 kB / 0.7063 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000791/0.2495, allocations: 385.9 kB / 0.7067 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.2518, allocations: 1.129 MB / 0.7078 GB, free: 9.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.2519, allocations: 0 / 0.7078 GB, free: 9.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2519, allocations: 3.938 kB / 0.7078 GB, free: 9.977 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.845e-05/0.2519, allocations: 3.938 kB / 0.7078 GB, free: 9.973 MB / 0.545 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.003208/0.2551, allocations: 1.104 MB / 0.7089 GB, free: 8.816 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.2552, allocations: 8.031 kB / 0.7089 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.2555, allocations: 83.91 kB / 0.709 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.2569, allocations: 0.5226 MB / 0.7095 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/0.257, allocations: 37 kB / 0.7095 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.2572, allocations: 52 kB / 0.7096 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.2591, allocations: 0.6255 MB / 0.7102 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.2591, allocations: 3.938 kB / 0.7102 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.2592, allocations: 16 kB / 0.7102 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.2592, allocations: 12 kB / 0.7102 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.2612, allocations: 495.4 kB / 0.7107 GB, free: 6.867 MB / 0.545 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.005699/0.267, allocations: 3.197 MB / 0.7138 GB, free: 3.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.2683, allocations: 345.2 kB / 0.7141 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009208/0.2692, allocations: 228.7 kB / 0.7143 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.2696, allocations: 344.4 kB / 0.7147 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.2696, allocations: 30.56 kB / 0.7147 GB, free: 2.461 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.896e-06/0.2696, allocations: 0 / 0.7147 GB, free: 2.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=38): time 0.002213/0.2719, allocations: 0.8153 MB / 0.7155 GB, free: 1.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2719, allocations: 55.41 kB / 0.7155 GB, free: 1.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006881/0.2726, allocations: 0.59 MB / 0.7161 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.2727, allocations: 33.7 kB / 0.7162 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.2729, allocations: 328.4 kB / 0.7165 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.513e-05/0.273, allocations: 134.1 kB / 0.7166 GB, free: 464 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.2732, allocations: 134.2 kB / 0.7167 GB, free: 324 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2734, allocations: 370.7 kB / 0.7171 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.2739, allocations: 219.4 kB / 0.7173 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.2745, allocations: 372 kB / 0.7176 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.2756, allocations: 0.5627 MB / 0.7182 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.2757, allocations: 7.938 kB / 0.7182 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001552/0.2772, allocations: 0.7225 MB / 0.7189 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2772, allocations: 8 kB / 0.7189 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.2773, allocations: 4 kB / 0.7189 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.2779, allocations: 140.7 kB / 0.7191 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.2784, allocations: 140 kB / 0.7192 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005627/0.279, allocations: 0.6148 MB / 0.7198 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.2796, allocations: 79.28 kB / 0.7199 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/0.2796, allocations: 35.98 kB / 0.7199 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000653/0.2803, allocations: 349.4 kB / 0.7202 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006152/0.2809, allocations: 368 kB / 0.7206 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001089/0.282, allocations: 0.5549 MB / 0.7211 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.736e-06/0.282, allocations: 0 / 0.7211 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001407/0.2835, allocations: 0.6823 MB / 0.7218 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2835, allocations: 10.81 kB / 0.7218 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2835, allocations: 7.984 kB / 0.7218 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.2835, allocations: 8.562 kB / 0.7218 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/0.2841, allocations: 151.8 kB / 0.722 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.2841, allocations: 11.94 kB / 0.722 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.2846, allocations: 67.64 kB / 0.722 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.2847, allocations: 31.92 kB / 0.7221 GB, free: 10.54 MB / 0.5606 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.2849, allocations: 217 kB / 0.7223 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.285, allocations: 67.16 kB / 0.7223 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.2865, allocations: 0.6386 MB / 0.723 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.2865, allocations: 0 / 0.723 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2866, allocations: 7.922 kB / 0.723 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.2868, allocations: 196 kB / 0.7232 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.774e-05/0.2869, allocations: 4 kB / 0.7232 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.2873, allocations: 39.95 kB / 0.7232 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.2874, allocations: 28.34 kB / 0.7232 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001583/0.289, allocations: 0.6587 MB / 0.7239 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001784/0.2908, allocations: 0.9664 MB / 0.7248 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005004/0.2913, allocations: 240.2 kB / 0.725 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004499/0.2917, allocations: 407 kB / 0.7254 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of Backend: time 2.41e-07/0.2917, allocations: 0 / 0.7254 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.2942, allocations: 0.9441 MB / 0.7263 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002331/0.2966, allocations: 1.605 MB / 0.7279 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of Templates: time 0.02472/0.3213, allocations: 14.6 MB / 0.7422 GB, free: 6.016 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)