Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001075/0.001075, allocations: 183.6 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008263/0.0008263, allocations: 89.22 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002969, allocations: 10.5 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1889, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01976/0.2087, allocations: 26.14 MB / 0.9223 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.2208, allocations: 10.84 MB / 0.9329 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.2222, allocations: 31.69 kB / 0.9329 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.2234, allocations: 294.2 kB / 0.9332 GB, free: 30.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.2266, allocations: 1.068 MB / 0.9342 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.2289, allocations: 0.9276 MB / 0.9351 GB, free: 28.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.2315, allocations: 3.211 MB / 0.9383 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008173/0.2323, allocations: 0.82 MB / 0.9391 GB, free: 24.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.2337, allocations: 1.066 MB / 0.9401 GB, free: 23.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.2348, allocations: 1.004 MB / 0.9411 GB, free: 22.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.235, allocations: 44 kB / 0.9411 GB, free: 22.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.2364, allocations: 0.8967 MB / 0.942 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.2366, allocations: 223 kB / 0.9422 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.237, allocations: 0.4935 MB / 0.9427 GB, free: 20.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.2383, allocations: 1.55 MB / 0.9442 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2383, allocations: 3.938 kB / 0.9442 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2383, allocations: 0 / 0.9442 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.2384, allocations: 0 / 0.9442 GB, free: 19.41 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001537/0.2399, allocations: 1.149 MB / 0.9453 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2399, allocations: 8.031 kB / 0.9453 GB, free: 18.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.2402, allocations: 119.6 kB / 0.9455 GB, free: 18.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.2409, allocations: 0.6584 MB / 0.9461 GB, free: 17.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.241, allocations: 61 kB / 0.9462 GB, free: 17.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2411, allocations: 80 kB / 0.9462 GB, free: 17.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007182/0.2418, allocations: 0.5647 MB / 0.9468 GB, free: 16.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.2418, allocations: 0 / 0.9468 GB, free: 16.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.2419, allocations: 20 kB / 0.9468 GB, free: 16.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2419, allocations: 12 kB / 0.9468 GB, free: 16.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.2425, allocations: 423.6 kB / 0.9472 GB, free: 16.2 MB / 0.6042 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.002817/0.2454, allocations: 2.532 MB / 0.9497 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.2458, allocations: 278.4 kB / 0.95 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.2461, allocations: 136.8 kB / 0.9501 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.2463, allocations: 344.4 kB / 0.9504 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.2463, allocations: 34.56 kB / 0.9505 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=29): time 2.334e-06/0.2463, allocations: 0 / 0.9505 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29): time 0.0009565/0.2473, allocations: 493.9 kB / 0.9509 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.2473, allocations: 63.34 kB / 0.951 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/0.2479, allocations: 0.7475 MB / 0.9517 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/0.248, allocations: 49.7 kB / 0.9518 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.2482, allocations: 436.8 kB / 0.9522 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.2483, allocations: 94.56 kB / 0.9523 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.2484, allocations: 57.69 kB / 0.9523 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.2484, allocations: 337.8 kB / 0.9526 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.2487, allocations: 161 kB / 0.9528 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/0.2494, allocations: 0.7868 MB / 0.9536 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.25, allocations: 407.6 kB / 0.954 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.25, allocations: 0 / 0.954 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009361/0.251, allocations: 0.5731 MB / 0.9545 GB, free: 8.207 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/0.251, allocations: 150.9 kB / 0.9547 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.2511, allocations: 7.984 kB / 0.9547 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2511, allocations: 4.094 kB / 0.9547 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.2521, allocations: 203.7 kB / 0.9549 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007395/0.2529, allocations: 2.367 MB / 0.9572 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.2553, allocations: 0.6946 MB / 0.9579 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.2554, allocations: 23.98 kB / 0.9579 GB, free: 4.633 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.2554, allocations: 4 kB / 0.9579 GB, free: 4.629 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007157/0.2561, allocations: 450.1 kB / 0.9583 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2561, allocations: 8.203 kB / 0.9583 GB, free: 4.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.2561, allocations: 4 kB / 0.9583 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.2566, allocations: 139.7 kB / 0.9585 GB, free: 4.039 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2566, allocations: 8.125 kB / 0.9585 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.259, allocations: 0.6867 MB / 0.9591 GB, free: 3.344 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.259, allocations: 20 kB / 0.9592 GB, free: 3.324 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.2594, allocations: 289.6 kB / 0.9594 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.926e-05/0.2595, allocations: 78.97 kB / 0.9595 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008321/0.2603, allocations: 493.3 kB / 0.96 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2603, allocations: 3.984 kB / 0.96 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.2603, allocations: 0 / 0.96 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.2605, allocations: 191.9 kB / 0.9602 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.2606, allocations: 8 kB / 0.9602 GB, free: 2.246 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.261, allocations: 43.95 kB / 0.9602 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.2611, allocations: 23.95 kB / 0.9602 GB, free: 2.18 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008638/0.2619, allocations: 0.5228 MB / 0.9607 GB, free: 1.637 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009136/0.2629, allocations: 0.7741 MB / 0.9615 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002417/0.2631, allocations: 156 kB / 0.9616 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004337/0.2636, allocations: 0.5107 MB / 0.9621 GB, free: 188 kB / 0.6042 GB Notification: Performance of Backend: time 4.41e-07/0.2636, allocations: 4 kB / 0.9622 GB, free: 184 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002693/0.2663, allocations: 0.9268 MB / 0.9631 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of SimCode: time 0.003104/0.2694, allocations: 2.213 MB / 0.9652 GB, free: 13 MB / 0.6198 GB Notification: Performance of Templates: time 0.03299/0.3024, allocations: 21.19 MB / 0.9859 GB, free: 8.039 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)