Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.208/2.208, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 173.8 kB / 326.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.612/2.612, allocations: 205.4 MB / 0.5772 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 84.23 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007/0.0007003, allocations: 12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2513, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1372/0.3886, allocations: 104.6 MB / 1.002 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.05255/0.4412, allocations: 22.74 MB / 1.024 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00503/0.4462, allocations: 103.1 kB / 1.024 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004781/0.4511, allocations: 0.8889 MB / 1.025 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.4634, allocations: 2.827 MB / 1.028 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.4743, allocations: 2.307 MB / 1.03 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01562/0.49, allocations: 8.073 MB / 1.038 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004881/0.4949, allocations: 1.925 MB / 1.04 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007522/0.5025, allocations: 2.201 MB / 1.042 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005276/0.5078, allocations: 1.898 MB / 1.044 GB, free: 13.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008481/0.5087, allocations: 88 kB / 1.044 GB, free: 13.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005308/0.5141, allocations: 1.138 MB / 1.045 GB, free: 12.39 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.5155, allocations: 485.8 kB / 1.045 GB, free: 11.91 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.5171, allocations: 0.5589 MB / 1.046 GB, free: 11.35 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007054/0.5242, allocations: 3.21 MB / 1.049 GB, free: 8.129 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.5242, allocations: 8 kB / 1.049 GB, free: 8.121 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.125e-06/0.5243, allocations: 0 / 1.049 GB, free: 8.121 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001273/0.5244, allocations: 0 / 1.049 GB, free: 8.121 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.008219/0.5326, allocations: 2.664 MB / 1.052 GB, free: 5.395 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.375e-05/0.5327, allocations: 8.031 kB / 1.052 GB, free: 5.387 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.5342, allocations: 324.3 kB / 1.052 GB, free: 5.066 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00664/0.5409, allocations: 2.039 MB / 1.054 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.5411, allocations: 123 kB / 1.054 GB, free: 2.836 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004431/0.5416, allocations: 164 kB / 1.054 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00493/0.5465, allocations: 1.584 MB / 1.056 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.898e-05/0.5466, allocations: 7.938 kB / 1.056 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.5469, allocations: 67.92 kB / 1.056 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-05/0.547, allocations: 40 kB / 1.056 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5964/1.143, allocations: 1.136 MB / 1.057 GB, free: 151.3 MB / 0.698 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.01685/1.16, allocations: 7.859 MB / 1.065 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/1.162, allocations: 478.1 kB / 1.065 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008004/1.162, allocations: 326.6 kB / 1.065 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/1.163, allocations: 0.7552 MB / 1.066 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/1.163, allocations: 44.11 kB / 1.066 GB, free: 146.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 4.399e-06/1.163, allocations: 0 / 1.066 GB, free: 146.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002993/1.166, allocations: 0.983 MB / 1.067 GB, free: 146.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/1.166, allocations: 57.81 kB / 1.067 GB, free: 146.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004856/1.171, allocations: 2.243 MB / 1.069 GB, free: 146.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002723/1.171, allocations: 48.84 kB / 1.069 GB, free: 146.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001348/1.173, allocations: 1.142 MB / 1.07 GB, free: 146.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/1.173, allocations: 210.4 kB / 1.071 GB, free: 146 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/1.173, allocations: 26.84 kB / 1.071 GB, free: 146 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.173, allocations: 354.2 kB / 1.071 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/1.175, allocations: 336 kB / 1.071 GB, free: 145.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/1.176, allocations: 0.732 MB / 1.072 GB, free: 145.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/1.178, allocations: 464.2 kB / 1.073 GB, free: 145.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/1.178, allocations: 2.531 kB / 1.073 GB, free: 145.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003958/1.182, allocations: 1.261 MB / 1.074 GB, free: 144.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002104/1.182, allocations: 345.4 kB / 1.074 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/1.182, allocations: 7.781 kB / 1.074 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.27e-05/1.182, allocations: 14.41 kB / 1.074 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/1.184, allocations: 254.7 kB / 1.074 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.205e-05/1.184, allocations: 20.62 kB / 1.074 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/1.187, allocations: 259.7 kB / 1.075 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/1.188, allocations: 56.02 kB / 1.075 GB, free: 144.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.188, allocations: 3.625 kB / 1.075 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003084/1.191, allocations: 1.023 MB / 1.076 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/1.191, allocations: 10.5 kB / 1.076 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/1.191, allocations: 14.25 kB / 1.076 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/1.193, allocations: 252.7 kB / 1.076 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.53e-05/1.193, allocations: 20.83 kB / 1.076 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/1.196, allocations: 224.3 kB / 1.076 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/1.196, allocations: 50.83 kB / 1.076 GB, free: 143.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001481/1.198, allocations: 0.5731 MB / 1.077 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007193/1.198, allocations: 235.2 kB / 1.077 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/1.201, allocations: 0.8841 MB / 1.078 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001685/1.203, allocations: 0.6861 MB / 1.079 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.203, allocations: 3.016 kB / 1.079 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.204, allocations: 437.9 kB / 1.079 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004702/1.205, allocations: 13.97 kB / 1.079 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.207, allocations: 116.7 kB / 1.079 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.207, allocations: 37.33 kB / 1.079 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002423/1.21, allocations: 0.7925 MB / 1.08 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003402/1.213, allocations: 1.385 MB / 1.081 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007602/1.214, allocations: 311.5 kB / 1.082 GB, free: 141.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003814/1.218, allocations: 1.494 MB / 1.083 GB, free: 140.5 MB / 0.698 GB Notification: Performance of Backend: time 8.52e-07/1.218, allocations: 1.281 kB / 1.083 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007161/1.225, allocations: 1.951 MB / 1.085 GB, free: 139.9 MB / 0.698 GB Notification: Performance of SimCode: time 0.01914/1.244, allocations: 5.877 MB / 1.091 GB, free: 136.1 MB / 0.698 GB Notification: Performance of Templates: time 0.115/1.359, allocations: 47.52 MB / 1.137 GB, free: 92.01 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)