Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001581/0.001581, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001904/0.001904, allocations: 196 kB / 17.98 MB, free: 5.031 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7164/0.7164, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 75.81 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3219, allocations: 76.13 MB / 0.5576 GB, free: 36.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01694/0.3389, allocations: 19.42 MB / 0.5765 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007731/0.3467, allocations: 5.141 MB / 0.5816 GB, free: 19.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.348, allocations: 20.34 kB / 0.5816 GB, free: 19.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007818/0.3488, allocations: 270.4 kB / 0.5818 GB, free: 19.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.3509, allocations: 0.7688 MB / 0.5826 GB, free: 18.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.3534, allocations: 0.886 MB / 0.5835 GB, free: 18.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002278/0.3557, allocations: 1.551 MB / 0.585 GB, free: 17.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008003/0.3565, allocations: 0.5087 MB / 0.5855 GB, free: 17.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.3577, allocations: 0.627 MB / 0.5861 GB, free: 17.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007617/0.3585, allocations: 0.5242 MB / 0.5866 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.3586, allocations: 56.88 kB / 0.5866 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.3601, allocations: 0.7037 MB / 0.5873 GB, free: 16.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.3603, allocations: 168.2 kB / 0.5875 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003965/0.3607, allocations: 377.7 kB / 0.5878 GB, free: 16.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.3623, allocations: 1.099 MB / 0.5889 GB, free: 15.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3623, allocations: 7.938 kB / 0.5889 GB, free: 15.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3623, allocations: 5.156 kB / 0.5889 GB, free: 15.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.3623, allocations: 0 / 0.5889 GB, free: 15.82 MB / 446.1 MB 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.002157/0.3645, allocations: 1.103 MB / 0.59 GB, free: 15.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3646, allocations: 9.25 kB / 0.59 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.3648, allocations: 84.75 kB / 0.5901 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009087/0.3657, allocations: 0.5275 MB / 0.5906 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.3657, allocations: 37.28 kB / 0.5907 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.3658, allocations: 47.91 kB / 0.5907 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.3668, allocations: 0.6183 MB / 0.5913 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3669, allocations: 5.312 kB / 0.5913 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.3669, allocations: 22.31 kB / 0.5913 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.3669, allocations: 12.56 kB / 0.5913 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009854/0.3679, allocations: 493.7 kB / 0.5918 GB, free: 13.81 MB / 446.1 MB 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.003077/0.371, allocations: 3.201 MB / 0.5949 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.3717, allocations: 345.5 kB / 0.5953 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/0.3722, allocations: 229.9 kB / 0.5955 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.3724, allocations: 344.4 kB / 0.5958 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.3725, allocations: 36.91 kB / 0.5958 GB, free: 10.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=38): time 2.514e-06/0.3725, allocations: 1.406 kB / 0.5958 GB, free: 10.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=38): time 0.00211/0.3746, allocations: 0.8142 MB / 0.5966 GB, free: 9.664 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.3746, allocations: 55.62 kB / 0.5967 GB, free: 9.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006554/0.3753, allocations: 0.5817 MB / 0.5973 GB, free: 9.254 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.3754, allocations: 36.52 kB / 0.5973 GB, free: 9.215 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.3755, allocations: 328 kB / 0.5976 GB, free: 8.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/0.3756, allocations: 139.6 kB / 0.5977 GB, free: 8.805 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.3758, allocations: 128.4 kB / 0.5979 GB, free: 8.727 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.3759, allocations: 372.2 kB / 0.5982 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.3764, allocations: 215.6 kB / 0.5984 GB, free: 8.262 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.3769, allocations: 372.8 kB / 0.5988 GB, free: 7.969 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000974/0.3779, allocations: 0.5781 MB / 0.5993 GB, free: 7.562 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.3779, allocations: 1.094 kB / 0.5994 GB, free: 7.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001504/0.3794, allocations: 0.723 MB / 0.6001 GB, free: 7.191 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3795, allocations: 8.875 kB / 0.6001 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3795, allocations: 4.594 kB / 0.6001 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/0.3801, allocations: 130.1 kB / 0.6002 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.3807, allocations: 143.9 kB / 0.6003 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004874/0.3812, allocations: 0.6164 MB / 0.6009 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006753/0.3819, allocations: 76.12 kB / 0.601 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/0.382, allocations: 34.39 kB / 0.601 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007016/0.3827, allocations: 357.1 kB / 0.6014 GB, free: 6.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005757/0.3833, allocations: 367.3 kB / 0.6017 GB, free: 5.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001037/0.3843, allocations: 0.554 MB / 0.6023 GB, free: 5.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.227e-06/0.3843, allocations: 2.094 kB / 0.6023 GB, free: 5.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001458/0.3858, allocations: 0.6761 MB / 0.6029 GB, free: 5.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3858, allocations: 6.531 kB / 0.6029 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.3859, allocations: 4.531 kB / 0.6029 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3859, allocations: 8.094 kB / 0.603 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.3865, allocations: 159.5 kB / 0.6031 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3865, allocations: 11.94 kB / 0.6031 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006001/0.3871, allocations: 71.5 kB / 0.6032 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.3872, allocations: 28.14 kB / 0.6032 GB, free: 4.984 MB / 446.1 MB 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.0001554/0.3874, allocations: 216.7 kB / 0.6034 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.3875, allocations: 71.14 kB / 0.6035 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3889, allocations: 0.6481 MB / 0.6041 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3889, allocations: 8 kB / 0.6041 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3889, allocations: 3.938 kB / 0.6041 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.389, allocations: 0 / 0.6041 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.3914, allocations: 1.363 MB / 0.6055 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3914, allocations: 0 / 0.6055 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.3918, allocations: 87.97 kB / 0.6055 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003161/0.3921, allocations: 104.8 kB / 0.6056 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.3921, allocations: 8 kB / 0.6057 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004768/0.3926, allocations: 0.6342 MB / 0.6063 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3926, allocations: 4.031 kB / 0.6063 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3938, allocations: 0.6941 MB / 0.607 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.3941, allocations: 200 kB / 0.6071 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.3943, allocations: 8 kB / 0.6071 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.3947, allocations: 31.95 kB / 0.6072 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.3948, allocations: 35.95 kB / 0.6072 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.3948, allocations: 20.06 kB / 0.6072 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003884/0.3952, allocations: 403.1 kB / 0.6076 GB, free: 316 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3952, allocations: 0 / 0.6076 GB, free: 316 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001229/0.3965, allocations: 387.5 kB / 0.608 GB, free: 15.93 MB / 462.1 MB 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 () * Number of clocked 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 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007797/0.3973, allocations: 301.3 kB / 0.6083 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.3994, allocations: 0.8668 MB / 0.6091 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3994, allocations: 0 / 0.6091 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007204/0.4002, allocations: 291.8 kB / 0.6094 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.4014, allocations: 235.4 kB / 0.6096 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.4033, allocations: 1.057 MB / 0.6107 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.4039, allocations: 0.9116 MB / 0.6115 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005817/0.4045, allocations: 158.9 kB / 0.6117 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.4047, allocations: 55.42 kB / 0.6118 GB, free: 12.03 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4047, allocations: 4 kB / 0.6118 GB, free: 12.02 MB / 462.1 MB Notification: Performance of Templates: time 0.02316/0.4279, allocations: 12.61 MB / 0.6241 GB, free: 15.59 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)