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.001641/0.001641, allocations: 108.9 kB / 16.41 MB, free: 6.449 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.001724/0.001724, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.469/1.469, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002479/0.002479, allocations: 289.5 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.015/1.015, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003891/0.003891, allocations: 99.84 kB / 0.6821 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.484, allocations: 86.99 MB / 0.7671 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1687/0.6527, allocations: 154.6 MB / 0.9181 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04844/0.7012, allocations: 30.43 MB / 0.9478 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006259/0.7074, allocations: 139.1 kB / 0.9479 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003813/0.7112, allocations: 1.067 MB / 0.949 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.7234, allocations: 3.329 MB / 0.9522 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007025/0.7305, allocations: 2.512 MB / 0.9547 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4607/1.191, allocations: 5.387 MB / 0.9599 GB, free: 42.94 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/1.194, allocations: 1.882 MB / 0.9618 GB, free: 42.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005556/1.2, allocations: 2.761 MB / 0.9645 GB, free: 42.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003503/1.203, allocations: 1.958 MB / 0.9664 GB, free: 42.81 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004853/1.204, allocations: 214.1 kB / 0.9666 GB, free: 42.81 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/1.206, allocations: 1.097 MB / 0.9677 GB, free: 42.81 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004771/1.207, allocations: 0.5719 MB / 0.9682 GB, free: 42.7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/1.208, allocations: 1.267 MB / 0.9694 GB, free: 42.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003327/1.211, allocations: 3.352 MB / 0.9727 GB, free: 41.83 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.211, allocations: 9.844 kB / 0.9727 GB, free: 41.83 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/1.211, allocations: 0 / 0.9727 GB, free: 41.83 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.7e-05/1.211, allocations: 0 / 0.9727 GB, free: 41.83 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.004433/1.216, allocations: 2.864 MB / 0.9755 GB, free: 40.49 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/1.216, allocations: 11.41 kB / 0.9755 GB, free: 40.49 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/1.216, allocations: 278.7 kB / 0.9758 GB, free: 40.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/1.218, allocations: 1.54 MB / 0.9773 GB, free: 39.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/1.218, allocations: 97.88 kB / 0.9774 GB, free: 39.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/1.218, allocations: 142 kB / 0.9775 GB, free: 39.79 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/1.22, allocations: 1.161 MB / 0.9787 GB, free: 39.71 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/1.22, allocations: 1.875 kB / 0.9787 GB, free: 39.71 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.963e-05/1.22, allocations: 45.19 kB / 0.9787 GB, free: 39.71 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/1.22, allocations: 29.88 kB / 0.9787 GB, free: 39.71 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/1.222, allocations: 1.019 MB / 0.9797 GB, free: 39.7 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.008869/1.231, allocations: 6.315 MB / 0.9859 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008058/1.231, allocations: 0.5225 MB / 0.9864 GB, free: 37 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/1.232, allocations: 351.9 kB / 0.9868 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/1.232, allocations: 0.5082 MB / 0.9873 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/1.232, allocations: 44.16 kB / 0.9873 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001241/1.233, allocations: 228.1 kB / 0.9875 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 2.575e-06/1.233, allocations: 2.969 kB / 0.9875 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.001853/1.235, allocations: 1.171 MB / 0.9887 GB, free: 36.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/1.235, allocations: 63.47 kB / 0.9887 GB, free: 36.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/1.237, allocations: 1.901 MB / 0.9906 GB, free: 35.86 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.168e-05/1.237, allocations: 45.58 kB / 0.9906 GB, free: 35.83 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005779/1.238, allocations: 0.9268 MB / 0.9915 GB, free: 35.55 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/1.238, allocations: 216.5 kB / 0.9917 GB, free: 35.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/1.238, allocations: 294.7 kB / 0.992 GB, free: 35.39 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.935e-05/1.239, allocations: 349.8 kB / 0.9923 GB, free: 35.08 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007151/1.239, allocations: 455.5 kB / 0.9928 GB, free: 35.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/1.24, allocations: 0.686 MB / 0.9934 GB, free: 34.86 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.241, allocations: 0.9762 MB / 0.9944 GB, free: 34.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/1.241, allocations: 2.469 kB / 0.9944 GB, free: 34.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002233/1.244, allocations: 1.414 MB / 0.9958 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.244, allocations: 6.625 kB / 0.9958 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/1.244, allocations: 6.875 kB / 0.9958 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/1.244, allocations: 5.875 kB / 0.9958 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/1.245, allocations: 276.1 kB / 0.9961 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.245, allocations: 17.58 kB / 0.9961 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1.246, allocations: 74.33 kB / 0.9962 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.247, allocations: 63.45 kB / 0.9962 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001145/1.248, allocations: 0.707 MB / 0.9969 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007935/1.248, allocations: 0.665 MB / 0.9976 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001247/1.25, allocations: 0.9169 MB / 0.9984 GB, free: 34.11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/1.25, allocations: 4 kB / 0.9985 GB, free: 34.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002017/1.252, allocations: 1.366 MB / 0.9998 GB, free: 33.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.252, allocations: 8.281 kB / 0.9998 GB, free: 33.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.252, allocations: 5.531 kB / 0.9998 GB, free: 33.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/1.252, allocations: 11.56 kB / 0.9998 GB, free: 33.92 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/1.253, allocations: 272.4 kB / 1 GB, free: 33.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.253, allocations: 14.38 kB / 1 GB, free: 33.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/1.254, allocations: 91.03 kB / 1 GB, free: 33.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/1.254, allocations: 55.36 kB / 1 GB, free: 33.91 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.0002608/1.255, allocations: 236.4 kB / 1 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/1.255, allocations: 218.3 kB / 1.001 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/1.257, allocations: 1.094 MB / 1.002 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.257, allocations: 7.719 kB / 1.002 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.257, allocations: 6.562 kB / 1.002 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.257, allocations: 2.672 kB / 1.002 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/1.26, allocations: 2.435 MB / 1.004 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.26, allocations: 4.375 kB / 1.004 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/1.26, allocations: 133.3 kB / 1.004 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.261, allocations: 6.703 kB / 1.004 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/1.261, allocations: 27.2 kB / 1.004 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/1.261, allocations: 6.188 kB / 1.004 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.261, allocations: 6.906 kB / 1.004 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/1.262, allocations: 1.075 MB / 1.005 GB, free: 32.81 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/1.262, allocations: 367.4 kB / 1.006 GB, free: 32.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/1.262, allocations: 17.5 kB / 1.006 GB, free: 32.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007969/1.263, allocations: 32.97 kB / 1.006 GB, free: 32.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.263, allocations: 64 kB / 1.006 GB, free: 32.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/1.263, allocations: 25.12 kB / 1.006 GB, free: 32.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00134/1.265, allocations: 1.253 MB / 1.007 GB, free: 32.45 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.265, allocations: 0 / 1.007 GB, free: 32.45 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001916/1.267, allocations: 0.8948 MB / 1.008 GB, free: 32.33 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.0006214/1.267, allocations: 354.1 kB / 1.008 GB, free: 32.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002419/1.27, allocations: 1.505 MB / 1.01 GB, free: 32.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.27, allocations: 1.5 kB / 1.01 GB, free: 32.18 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005383/1.27, allocations: 367 kB / 1.01 GB, free: 32.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004622/1.275, allocations: 1.079 MB / 1.011 GB, free: 32.01 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/1.279, allocations: 3.06 MB / 1.014 GB, free: 30.76 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/1.28, allocations: 1.405 MB / 1.016 GB, free: 30.01 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001686/1.282, allocations: 408.6 kB / 1.016 GB, free: 29.89 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/1.282, allocations: 162.6 kB / 1.016 GB, free: 29.89 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/1.282, allocations: 0 / 1.016 GB, free: 29.89 MB / 0.7169 GB Notification: Performance of Templates: time 0.05509/1.337, allocations: 38.72 MB / 1.054 GB, free: 11.27 MB / 0.7325 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)