Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 289.9 MB / 297.4 MB, free: 6.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000981/0.000981, allocations: 180.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.3 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007944/0.0007945, allocations: 92.58 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.749e-05/1.713e-05, allocations: 8 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.5503, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8119/1.362, allocations: 397 MB / 1.361 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.363, allocations: 86.42 kB / 1.361 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4217/1.784, allocations: 234.1 MB / 1.59 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.173e-06/1.784, allocations: 4 kB / 1.59 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.695e-05/1.784, allocations: 20 kB / 1.59 GB, free: 1.875 MB / 0.9167 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.001623/1.786, allocations: 0.9658 MB / 1.591 GB, free: 0.8594 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/1.786, allocations: 12.03 kB / 1.591 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/1.786, allocations: 83.02 kB / 1.591 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000771/1.787, allocations: 0.5076 MB / 1.591 GB, free: 224 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/1.787, allocations: 12 kB / 1.591 GB, free: 212 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/1.787, allocations: 36 kB / 1.591 GB, free: 176 kB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005945/1.788, allocations: 354.6 kB / 1.592 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007129/1.788, allocations: 0.5094 MB / 1.592 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/1.788, allocations: 7.938 kB / 1.592 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/1.788, allocations: 4 kB / 1.592 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/1.788, allocations: 12 kB / 1.592 GB, free: 15.22 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.00315/1.792, allocations: 3.121 MB / 1.595 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/1.792, allocations: 282.8 kB / 1.595 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/1.792, allocations: 172.8 kB / 1.596 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/1.793, allocations: 348.4 kB / 1.596 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/1.793, allocations: 42.56 kB / 1.596 GB, free: 11 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 1.553e-06/1.793, allocations: 0 / 1.596 GB, free: 11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.002031/1.795, allocations: 0.669 MB / 1.597 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/1.795, allocations: 59.36 kB / 1.597 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/1.795, allocations: 430.4 kB / 1.597 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/1.795, allocations: 29.7 kB / 1.597 GB, free: 9.789 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/1.795, allocations: 336.2 kB / 1.597 GB, free: 9.453 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/1.796, allocations: 122.1 kB / 1.598 GB, free: 9.332 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/1.796, allocations: 0 / 1.598 GB, free: 9.332 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.796, allocations: 374.8 kB / 1.598 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/1.796, allocations: 145.1 kB / 1.598 GB, free: 8.816 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/1.796, allocations: 322.3 kB / 1.598 GB, free: 8.422 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/1.798, allocations: 440.4 kB / 1.599 GB, free: 7.992 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.798, allocations: 0 / 1.599 GB, free: 7.992 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001958/1.8, allocations: 0.7925 MB / 1.6 GB, free: 7.188 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008011/1.801, allocations: 1.749 MB / 1.601 GB, free: 5.305 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.801, allocations: 4 kB / 1.601 GB, free: 5.301 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004309/1.801, allocations: 108.8 kB / 1.601 GB, free: 5.191 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/1.802, allocations: 135.8 kB / 1.602 GB, free: 5.059 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009892/1.803, allocations: 0.7045 MB / 1.602 GB, free: 4.328 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/1.803, allocations: 91.38 kB / 1.602 GB, free: 4.238 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/1.803, allocations: 31.98 kB / 1.602 GB, free: 4.207 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/1.803, allocations: 4 kB / 1.602 GB, free: 4.203 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001852/1.805, allocations: 0.6736 MB / 1.603 GB, free: 3.531 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.805, allocations: 4 kB / 1.603 GB, free: 3.527 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/1.805, allocations: 8 kB / 1.603 GB, free: 3.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/1.806, allocations: 160.1 kB / 1.603 GB, free: 3.363 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.806, allocations: 12 kB / 1.603 GB, free: 3.352 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/1.806, allocations: 79.53 kB / 1.603 GB, free: 3.273 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/1.806, allocations: 27.98 kB / 1.603 GB, free: 3.246 MB / 0.9323 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001491/1.807, allocations: 122.9 kB / 1.603 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-05/1.807, allocations: 59.25 kB / 1.603 GB, free: 3.062 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/1.809, allocations: 0.7602 MB / 1.604 GB, free: 2.289 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/1.809, allocations: 4 kB / 1.604 GB, free: 2.285 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/1.809, allocations: 0 / 1.604 GB, free: 2.285 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.809, allocations: 8.047 kB / 1.604 GB, free: 2.277 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/1.812, allocations: 1.418 MB / 1.606 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.812, allocations: 4 kB / 1.606 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/1.812, allocations: 87.88 kB / 1.606 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003366/1.812, allocations: 112.9 kB / 1.606 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/1.812, allocations: 11.98 kB / 1.606 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008614/1.813, allocations: 0.6966 MB / 1.606 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.813, allocations: 7.969 kB / 1.606 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/1.815, allocations: 0.8696 MB / 1.607 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/1.815, allocations: 196.1 kB / 1.607 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.332e-05/1.816, allocations: 0 / 1.607 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/1.816, allocations: 51.94 kB / 1.608 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/1.816, allocations: 35.86 kB / 1.608 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/1.816, allocations: 23.98 kB / 1.608 GB, free: 14.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003438/1.816, allocations: 318.9 kB / 1.608 GB, free: 14.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.816, allocations: 0 / 1.608 GB, free: 14.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001122/1.818, allocations: 395.1 kB / 1.608 GB, free: 13.92 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007006/1.818, allocations: 406.8 kB / 1.609 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001283/1.82, allocations: 0.7081 MB / 1.609 GB, free: 12.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.82, allocations: 3.938 kB / 1.609 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004529/1.82, allocations: 252.1 kB / 1.61 GB, free: 12.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/1.821, allocations: 224.8 kB / 1.61 GB, free: 12.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/1.823, allocations: 0.7124 MB / 1.611 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/1.823, allocations: 0.9284 MB / 1.611 GB, free: 10.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006178/1.824, allocations: 172.8 kB / 1.612 GB, free: 10.47 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/1.824, allocations: 47.42 kB / 1.612 GB, free: 10.42 MB / 0.948 GB Notification: Performance of SimCode: time 2.444e-06/1.824, allocations: 0 / 1.612 GB, free: 10.42 MB / 0.948 GB Notification: Performance of Templates: time 0.4245/2.248, allocations: 12.23 MB / 1.624 GB, free: 259.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)