Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.565/1.565, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 180.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 223.2 MB / 0.6626 GB, free: 4.379 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008222/0.0008222, allocations: 93.8 kB / 0.7808 GB, free: 43.61 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004353, allocations: 16 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6149/0.6153, allocations: 120.3 MB / 1.026 GB, free: 56.53 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8944/1.51, allocations: 388.4 MB / 1.406 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/1.51, allocations: 96.56 kB / 1.406 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.333/2.843, allocations: 415.8 MB / 1.812 GB, free: 216.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.324e-06/2.843, allocations: 0 / 1.812 GB, free: 216.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001078/2.843, allocations: 25.12 kB / 1.812 GB, free: 216.3 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002642/2.846, allocations: 1.184 MB / 1.813 GB, free: 215.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/2.846, allocations: 7.812 kB / 1.813 GB, free: 215.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/2.846, allocations: 98.84 kB / 1.813 GB, free: 215.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/2.847, allocations: 0.6082 MB / 1.814 GB, free: 215.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/2.847, allocations: 43.09 kB / 1.814 GB, free: 215.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/2.848, allocations: 57.38 kB / 1.814 GB, free: 215 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/2.848, allocations: 408.6 kB / 1.814 GB, free: 214.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/2.848, allocations: 14.06 kB / 1.814 GB, free: 214.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/2.848, allocations: 15.66 kB / 1.814 GB, free: 214.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/2.848, allocations: 11.47 kB / 1.814 GB, free: 214.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/2.849, allocations: 297.4 kB / 1.814 GB, free: 214.8 MB / 0.9792 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.002826/2.852, allocations: 1.864 MB / 1.816 GB, free: 213.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/2.852, allocations: 176.3 kB / 1.816 GB, free: 213.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/2.852, allocations: 79.47 kB / 1.817 GB, free: 213.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/2.853, allocations: 343.8 kB / 1.817 GB, free: 213.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/2.853, allocations: 37.08 kB / 1.817 GB, free: 213.1 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=19): time 2.124e-06/2.853, allocations: 0 / 1.817 GB, free: 213.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.0007096/2.853, allocations: 328.7 kB / 1.817 GB, free: 213 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/2.853, allocations: 55.19 kB / 1.817 GB, free: 212.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000736/2.854, allocations: 0.677 MB / 1.818 GB, free: 212.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/2.854, allocations: 33.64 kB / 1.818 GB, free: 212.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/2.854, allocations: 362.9 kB / 1.818 GB, free: 212.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/2.854, allocations: 69.5 kB / 1.818 GB, free: 212.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/2.854, allocations: 4 kB / 1.818 GB, free: 212.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001076/2.855, allocations: 376.2 kB / 1.819 GB, free: 211.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/2.855, allocations: 104.3 kB / 1.819 GB, free: 211.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/2.855, allocations: 225.3 kB / 1.819 GB, free: 211.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/2.855, allocations: 233.5 kB / 1.819 GB, free: 211.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/2.855, allocations: 0 / 1.819 GB, free: 211.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006372/2.856, allocations: 390.1 kB / 1.82 GB, free: 211.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/2.856, allocations: 111.1 kB / 1.82 GB, free: 211.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/2.856, allocations: 0 / 1.82 GB, free: 211.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/2.856, allocations: 3.266 kB / 1.82 GB, free: 211.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009306/2.857, allocations: 178.1 kB / 1.82 GB, free: 211.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008856/2.858, allocations: 2.372 MB / 1.822 GB, free: 209 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006498/2.859, allocations: 88.84 kB / 1.822 GB, free: 208.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/2.859, allocations: 21.5 kB / 1.822 GB, free: 208.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/2.859, allocations: 3.656 kB / 1.822 GB, free: 208.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004916/2.859, allocations: 297.8 kB / 1.823 GB, free: 208.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/2.859, allocations: 3.812 kB / 1.823 GB, free: 208.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/2.859, allocations: 0 / 1.823 GB, free: 208.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/2.86, allocations: 99.97 kB / 1.823 GB, free: 208.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/2.86, allocations: 3.906 kB / 1.823 GB, free: 208.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/2.86, allocations: 93.52 kB / 1.823 GB, free: 208.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/2.86, allocations: 18.75 kB / 1.823 GB, free: 208.8 MB / 0.9792 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002834/2.861, allocations: 263.4 kB / 1.823 GB, free: 208.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.15e-05/2.861, allocations: 73.56 kB / 1.823 GB, free: 208.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005939/2.861, allocations: 317.7 kB / 1.823 GB, free: 208.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/2.861, allocations: 0 / 1.823 GB, free: 208.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/2.861, allocations: 2.781 kB / 1.823 GB, free: 208.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/2.861, allocations: 0 / 1.823 GB, free: 208.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/2.863, allocations: 0.8991 MB / 1.824 GB, free: 207.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/2.863, allocations: 0 / 1.824 GB, free: 207.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/2.863, allocations: 78.61 kB / 1.824 GB, free: 207.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/2.863, allocations: 6.562 kB / 1.824 GB, free: 207.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/2.863, allocations: 11.66 kB / 1.824 GB, free: 207.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006593/2.864, allocations: 2.359 MB / 1.827 GB, free: 205.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/2.864, allocations: 0 / 1.827 GB, free: 205.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/2.864, allocations: 407.7 kB / 1.827 GB, free: 205.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/2.864, allocations: 177.7 kB / 1.827 GB, free: 205.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.724e-05/2.864, allocations: 3.781 kB / 1.827 GB, free: 205.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/2.865, allocations: 56.73 kB / 1.827 GB, free: 205.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/2.865, allocations: 22.81 kB / 1.827 GB, free: 205 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/2.865, allocations: 9.844 kB / 1.827 GB, free: 205 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004645/2.865, allocations: 466.8 kB / 1.828 GB, free: 204.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.51e-07/2.865, allocations: 0 / 1.828 GB, free: 204.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001099/2.866, allocations: 398.2 kB / 1.828 GB, free: 204.8 MB / 0.9792 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008683/2.867, allocations: 470.8 kB / 1.829 GB, free: 204.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001439/2.869, allocations: 0.497 MB / 1.829 GB, free: 204.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.869, allocations: 3.875 kB / 1.829 GB, free: 204.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/2.869, allocations: 146.1 kB / 1.829 GB, free: 204.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/2.871, allocations: 367 kB / 1.83 GB, free: 204.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/2.873, allocations: 1.336 MB / 1.831 GB, free: 203.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/2.874, allocations: 0.931 MB / 1.832 GB, free: 202.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005731/2.874, allocations: 112.2 kB / 1.832 GB, free: 202.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/2.874, allocations: 54.47 kB / 1.832 GB, free: 202.9 MB / 0.9792 GB Notification: Performance of SimCode: time 2.1e-07/2.874, allocations: 0 / 1.832 GB, free: 202.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.02441/2.899, allocations: 15.1 MB / 1.847 GB, free: 202.2 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)