Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001464, allocations: 108.6 kB / 16.41 MB, free: 6.488 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.001568/0.001568, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002361/0.002361, allocations: 281.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.159/1.159, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 95.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4061, allocations: 86.98 MB / 0.7671 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1625/0.5687, allocations: 154.4 MB / 0.9178 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04565/0.6144, allocations: 30.41 MB / 0.9475 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00527/0.6197, allocations: 139.1 kB / 0.9476 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003403/0.6231, allocations: 1.036 MB / 0.9486 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00897/0.6321, allocations: 3.172 MB / 0.9517 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006411/0.6386, allocations: 2.497 MB / 0.9542 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4131/1.052, allocations: 5.389 MB / 0.9594 GB, free: 42.78 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004245/1.056, allocations: 2.23 MB / 0.9616 GB, free: 42.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006641/1.063, allocations: 2.743 MB / 0.9643 GB, free: 42.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004438/1.067, allocations: 1.962 MB / 0.9662 GB, free: 42.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009777/1.068, allocations: 214.7 kB / 0.9664 GB, free: 42.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/1.072, allocations: 1.097 MB / 0.9675 GB, free: 42.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008263/1.072, allocations: 0.5563 MB / 0.968 GB, free: 42.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002346/1.075, allocations: 1.268 MB / 0.9693 GB, free: 42.13 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004547/1.079, allocations: 3.341 MB / 0.9725 GB, free: 41.76 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.079, allocations: 0 / 0.9725 GB, free: 41.76 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.764e-06/1.079, allocations: 0 / 0.9725 GB, free: 41.76 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.306e-05/1.079, allocations: 1.906 kB / 0.9725 GB, free: 41.76 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005648/1.085, allocations: 2.786 MB / 0.9753 GB, free: 40.53 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.085, allocations: 13.06 kB / 0.9753 GB, free: 40.53 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005333/1.086, allocations: 264.6 kB / 0.9755 GB, free: 40.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/1.088, allocations: 1.513 MB / 0.977 GB, free: 39.87 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.164e-05/1.088, allocations: 104.4 kB / 0.9771 GB, free: 39.86 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/1.088, allocations: 141.4 kB / 0.9772 GB, free: 39.86 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/1.091, allocations: 1.162 MB / 0.9784 GB, free: 39.78 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/1.091, allocations: 9.797 kB / 0.9784 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.091, allocations: 49.84 kB / 0.9784 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/1.091, allocations: 28.19 kB / 0.9785 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/1.092, allocations: 1.008 MB / 0.9794 GB, free: 39.75 MB / 0.7169 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.009708/1.102, allocations: 6.316 MB / 0.9856 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008753/1.103, allocations: 0.5633 MB / 0.9862 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/1.104, allocations: 399.5 kB / 0.9865 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/1.104, allocations: 0.4972 MB / 0.987 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/1.104, allocations: 39.73 kB / 0.9871 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001518/1.105, allocations: 232.6 kB / 0.9873 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 4.318e-06/1.105, allocations: 2.5 kB / 0.9873 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.002102/1.108, allocations: 1.16 MB / 0.9884 GB, free: 36.24 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/1.108, allocations: 57.78 kB / 0.9885 GB, free: 36.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/1.11, allocations: 1.909 MB / 0.9903 GB, free: 35.94 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/1.11, allocations: 42.7 kB / 0.9904 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005751/1.111, allocations: 0.9176 MB / 0.9913 GB, free: 35.64 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/1.111, allocations: 208.2 kB / 0.9915 GB, free: 35.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003745/1.111, allocations: 293.8 kB / 0.9917 GB, free: 35.49 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/1.111, allocations: 345.8 kB / 0.9921 GB, free: 35.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007143/1.112, allocations: 455.1 kB / 0.9925 GB, free: 35.17 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008946/1.113, allocations: 0.687 MB / 0.9932 GB, free: 34.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/1.114, allocations: 0.9685 MB / 0.9941 GB, free: 34.83 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.114, allocations: 10.03 kB / 0.9941 GB, free: 34.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00238/1.117, allocations: 1.412 MB / 0.9955 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.117, allocations: 8.594 kB / 0.9955 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.117, allocations: 2.781 kB / 0.9955 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/1.117, allocations: 7.875 kB / 0.9955 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.118, allocations: 284.3 kB / 0.9958 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/1.118, allocations: 11.16 kB / 0.9958 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/1.12, allocations: 73.94 kB / 0.9959 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.12, allocations: 60.95 kB / 0.9959 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001231/1.121, allocations: 0.708 MB / 0.9966 GB, free: 34.58 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008316/1.122, allocations: 0.6609 MB / 0.9973 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001239/1.123, allocations: 0.9205 MB / 0.9982 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.75e-06/1.123, allocations: 5.781 kB / 0.9982 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002281/1.125, allocations: 1.359 MB / 0.9995 GB, free: 34.04 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.125, allocations: 4.594 kB / 0.9995 GB, free: 34.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.125, allocations: 4.062 kB / 0.9995 GB, free: 34.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.125, allocations: 8.75 kB / 0.9995 GB, free: 34.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.126, allocations: 275.4 kB / 0.9998 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.126, allocations: 12 kB / 0.9998 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/1.128, allocations: 91.95 kB / 0.9999 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.917e-05/1.128, allocations: 54.88 kB / 0.9999 GB, free: 34.03 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003266/1.129, allocations: 242.2 kB / 1 GB, free: 33.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/1.129, allocations: 200.8 kB / 1 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/1.131, allocations: 1.1 MB / 1.001 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/1.131, allocations: 8.469 kB / 1.001 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.131, allocations: 0 / 1.001 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.131, allocations: 2.953 kB / 1.001 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/1.134, allocations: 2.441 MB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.134, allocations: 1.469 kB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/1.135, allocations: 138.7 kB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/1.135, allocations: 2.719 kB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/1.135, allocations: 17.88 kB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/1.135, allocations: 18.62 kB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.135, allocations: 3.938 kB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/1.137, allocations: 1.067 MB / 1.005 GB, free: 32.94 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005957/1.137, allocations: 354.6 kB / 1.005 GB, free: 32.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/1.137, allocations: 15.19 kB / 1.005 GB, free: 32.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007852/1.138, allocations: 33.78 kB / 1.005 GB, free: 32.74 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.138, allocations: 58.98 kB / 1.005 GB, free: 32.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/1.138, allocations: 25.11 kB / 1.006 GB, free: 32.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001516/1.14, allocations: 1.251 MB / 1.007 GB, free: 32.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.91e-07/1.14, allocations: 2.594 kB / 1.007 GB, free: 32.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002151/1.142, allocations: 0.889 MB / 1.008 GB, free: 32.48 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000741/1.143, allocations: 359.4 kB / 1.008 GB, free: 32.33 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002602/1.145, allocations: 1.621 MB / 1.01 GB, free: 32.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.145, allocations: 0 / 1.01 GB, free: 32.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005528/1.146, allocations: 416.3 kB / 1.01 GB, free: 32.31 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004647/1.151, allocations: 1.08 MB / 1.011 GB, free: 32.15 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/1.155, allocations: 3.027 MB / 1.014 GB, free: 30.86 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/1.156, allocations: 1.406 MB / 1.015 GB, free: 30.11 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006438/1.156, allocations: 164.9 kB / 1.015 GB, free: 30.11 MB / 0.7169 GB Notification: Performance of SimCode: time 1.493e-06/1.156, allocations: 0 / 1.015 GB, free: 30.11 MB / 0.7169 GB Notification: Performance of Templates: time 0.03844/1.195, allocations: 31.04 MB / 1.046 GB, free: 3.059 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)