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.001171/0.001171, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.001202/0.001202, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.314/1.314, allocations: 222.9 MB / 241 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.002142/0.002142, allocations: 291.3 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9942/0.9942, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 99.83 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4236, allocations: 86.97 MB / 0.7671 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1475/0.571, allocations: 154.4 MB / 0.9178 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04208/0.6132, allocations: 30.39 MB / 0.9475 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00528/0.6185, allocations: 143.1 kB / 0.9476 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.6215, allocations: 1.04 MB / 0.9486 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008999/0.6306, allocations: 3.166 MB / 0.9517 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006296/0.6369, allocations: 2.51 MB / 0.9542 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4663/1.103, allocations: 5.393 MB / 0.9595 GB, free: 42.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003809/1.107, allocations: 2.228 MB / 0.9616 GB, free: 42.64 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005819/1.113, allocations: 2.743 MB / 0.9643 GB, free: 42.64 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/1.117, allocations: 1.96 MB / 0.9662 GB, free: 42.64 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005205/1.117, allocations: 213.8 kB / 0.9664 GB, free: 42.64 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/1.12, allocations: 1.094 MB / 0.9675 GB, free: 42.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005118/1.12, allocations: 0.5604 MB / 0.968 GB, free: 42.55 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/1.122, allocations: 1.272 MB / 0.9693 GB, free: 42.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003524/1.125, allocations: 3.337 MB / 0.9725 GB, free: 41.81 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.125, allocations: 0 / 0.9725 GB, free: 41.81 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/1.125, allocations: 0 / 0.9725 GB, free: 41.81 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.27e-05/1.125, allocations: 0 / 0.9725 GB, free: 41.81 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.004499/1.13, allocations: 2.787 MB / 0.9753 GB, free: 40.58 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.13, allocations: 11.05 kB / 0.9753 GB, free: 40.58 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003874/1.13, allocations: 264.5 kB / 0.9755 GB, free: 40.45 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/1.132, allocations: 1.517 MB / 0.977 GB, free: 39.92 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.201e-05/1.133, allocations: 104.4 kB / 0.9771 GB, free: 39.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/1.133, allocations: 138.1 kB / 0.9772 GB, free: 39.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/1.135, allocations: 1.163 MB / 0.9784 GB, free: 39.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/1.135, allocations: 1.875 kB / 0.9784 GB, free: 39.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.135, allocations: 52.89 kB / 0.9784 GB, free: 39.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/1.135, allocations: 28.66 kB / 0.9785 GB, free: 39.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/1.137, allocations: 1.012 MB / 0.9794 GB, free: 39.8 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.008453/1.145, allocations: 6.315 MB / 0.9856 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008623/1.146, allocations: 0.5625 MB / 0.9862 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/1.146, allocations: 400 kB / 0.9865 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/1.147, allocations: 0.5054 MB / 0.987 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/1.147, allocations: 43.06 kB / 0.9871 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001302/1.148, allocations: 232.2 kB / 0.9873 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 3.657e-06/1.148, allocations: 0 / 0.9873 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.001852/1.15, allocations: 1.157 MB / 0.9884 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/1.15, allocations: 59.62 kB / 0.9885 GB, free: 36.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/1.152, allocations: 1.903 MB / 0.9903 GB, free: 35.99 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.187e-05/1.152, allocations: 53.33 kB / 0.9904 GB, free: 35.96 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/1.153, allocations: 0.9125 MB / 0.9913 GB, free: 35.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/1.153, allocations: 208.2 kB / 0.9915 GB, free: 35.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/1.153, allocations: 291.7 kB / 0.9918 GB, free: 35.54 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/1.153, allocations: 346.2 kB / 0.9921 GB, free: 35.24 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/1.154, allocations: 458.3 kB / 0.9925 GB, free: 35.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008759/1.155, allocations: 0.6858 MB / 0.9932 GB, free: 35.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/1.156, allocations: 0.9742 MB / 0.9942 GB, free: 34.88 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.156, allocations: 0 / 0.9942 GB, free: 34.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002268/1.159, allocations: 1.413 MB / 0.9955 GB, free: 34.72 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.159, allocations: 6.188 kB / 0.9955 GB, free: 34.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.159, allocations: 2.406 kB / 0.9955 GB, free: 34.72 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.159, allocations: 7.938 kB / 0.9955 GB, free: 34.72 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.16, allocations: 286.4 kB / 0.9958 GB, free: 34.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/1.16, allocations: 8.25 kB / 0.9958 GB, free: 34.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/1.161, allocations: 76.38 kB / 0.9959 GB, free: 34.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.162, allocations: 59.42 kB / 0.996 GB, free: 34.71 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001071/1.163, allocations: 0.7102 MB / 0.9967 GB, free: 34.63 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007933/1.163, allocations: 0.6609 MB / 0.9973 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001252/1.165, allocations: 0.9199 MB / 0.9982 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/1.165, allocations: 3.906 kB / 0.9982 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001894/1.167, allocations: 1.354 MB / 0.9995 GB, free: 34.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/1.167, allocations: 11.06 kB / 0.9995 GB, free: 34.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.167, allocations: 3.062 kB / 0.9995 GB, free: 34.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/1.167, allocations: 11.25 kB / 0.9995 GB, free: 34.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.168, allocations: 277.8 kB / 0.9998 GB, free: 34.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.168, allocations: 9.344 kB / 0.9998 GB, free: 34.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.169, allocations: 92.06 kB / 0.9999 GB, free: 34.08 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/1.169, allocations: 58.39 kB / 1 GB, free: 34.08 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.0002423/1.169, allocations: 234.5 kB / 1 GB, free: 33.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/1.17, allocations: 207.5 kB / 1 GB, free: 33.79 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/1.171, allocations: 1.101 MB / 1.001 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.171, allocations: 0 / 1.001 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.172, allocations: 3.609 kB / 1.001 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/1.172, allocations: 349.8 kB / 1.002 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/1.172, allocations: 17.47 kB / 1.002 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000785/1.173, allocations: 34.22 kB / 1.002 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.173, allocations: 49.53 kB / 1.002 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001335/1.174, allocations: 0.8855 MB / 1.003 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00127/1.176, allocations: 1.125 MB / 1.004 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004642/1.176, allocations: 378.9 kB / 1.004 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00143/1.178, allocations: 1.256 MB / 1.005 GB, free: 32.9 MB / 0.7169 GB Notification: Performance of Backend: time 4.91e-07/1.178, allocations: 3.938 kB / 1.005 GB, free: 32.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003446/1.181, allocations: 1.667 MB / 1.007 GB, free: 32.75 MB / 0.7169 GB Notification: Performance of SimCode: time 0.006371/1.187, allocations: 4.113 MB / 1.011 GB, free: 30.95 MB / 0.7169 GB Notification: Performance of Templates: time 0.05903/1.246, allocations: 41.69 MB / 1.052 GB, free: 12.39 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)