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.00135/0.00135, allocations: 106 kB / 16.27 MB, free: 5.969 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.00136/0.001361, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 283.7 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9567/0.9567, allocations: 169.2 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 89.83 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1555, allocations: 86.98 MB / 0.6808 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4286/0.5842, allocations: 154.3 MB / 0.8316 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04378/0.628, allocations: 30.41 MB / 0.8613 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006945/0.635, allocations: 139.2 kB / 0.8614 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.6384, allocations: 1.036 MB / 0.8624 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00953/0.6481, allocations: 3.171 MB / 0.8655 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006711/0.6548, allocations: 2.484 MB / 0.8679 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007729/0.6625, allocations: 5.373 MB / 0.8732 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003823/0.6664, allocations: 2.229 MB / 0.8754 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006089/0.6725, allocations: 2.681 MB / 0.878 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00336/0.6759, allocations: 1.968 MB / 0.8799 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007909/0.6767, allocations: 212 kB / 0.8801 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.6797, allocations: 1.092 MB / 0.8812 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009479/0.6807, allocations: 0.5564 MB / 0.8817 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002627/0.6834, allocations: 1.271 MB / 0.8829 GB, free: 40 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004978/0.6883, allocations: 3.282 MB / 0.8862 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6884, allocations: 0 / 0.8862 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.996e-06/0.6884, allocations: 0 / 0.8862 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001026/0.6885, allocations: 7.938 kB / 0.8862 GB, free: 12.74 MB / 0.6544 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.006038/0.6945, allocations: 2.792 MB / 0.8889 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.6946, allocations: 8.031 kB / 0.8889 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006697/0.6953, allocations: 268.8 kB / 0.8891 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.6979, allocations: 1.453 MB / 0.8906 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.698, allocations: 102.3 kB / 0.8907 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.6982, allocations: 136 kB / 0.8908 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.7004, allocations: 1.167 MB / 0.8919 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.7005, allocations: 0 / 0.8919 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.7006, allocations: 51.94 kB / 0.892 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.7006, allocations: 28 kB / 0.892 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.7025, allocations: 1.009 MB / 0.893 GB, free: 5.559 MB / 0.6544 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.01047/0.713, allocations: 6.367 MB / 0.8992 GB, free: 14.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009897/0.714, allocations: 0.5716 MB / 0.8998 GB, free: 14.15 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.7146, allocations: 383.4 kB / 0.9001 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/0.7151, allocations: 0.5031 MB / 0.9006 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.7151, allocations: 39.12 kB / 0.9007 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001455/0.7166, allocations: 226.9 kB / 0.9009 GB, free: 12.89 MB / 0.67 GB Notification: Performance of pre-optimization done (n=58): time 8.475e-06/0.7166, allocations: 7.984 kB / 0.9009 GB, free: 12.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=58): time 0.002456/0.7191, allocations: 1.164 MB / 0.902 GB, free: 11.71 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.7191, allocations: 59.97 kB / 0.9021 GB, free: 11.64 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.7221, allocations: 1.904 MB / 0.9039 GB, free: 9.711 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.7222, allocations: 49.7 kB / 0.904 GB, free: 9.656 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008775/0.7231, allocations: 0.9223 MB / 0.9049 GB, free: 8.723 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.7233, allocations: 197.1 kB / 0.9051 GB, free: 8.527 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004767/0.7238, allocations: 298.5 kB / 0.9054 GB, free: 8.23 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7239, allocations: 353.9 kB / 0.9057 GB, free: 7.879 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008237/0.7248, allocations: 445.9 kB / 0.9061 GB, free: 7.441 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.7259, allocations: 0.6879 MB / 0.9068 GB, free: 6.676 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.7275, allocations: 0.9696 MB / 0.9077 GB, free: 5.66 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.7275, allocations: 0 / 0.9077 GB, free: 5.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002597/0.7301, allocations: 1.404 MB / 0.9091 GB, free: 4.246 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.7302, allocations: 8 kB / 0.9091 GB, free: 4.238 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.7302, allocations: 7.984 kB / 0.9091 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.7302, allocations: 11.94 kB / 0.9091 GB, free: 4.219 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.7315, allocations: 276 kB / 0.9094 GB, free: 3.949 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/0.7315, allocations: 11.94 kB / 0.9094 GB, free: 3.938 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.7331, allocations: 75.86 kB / 0.9095 GB, free: 3.863 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.7332, allocations: 63.95 kB / 0.9096 GB, free: 3.801 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001325/0.7345, allocations: 0.7095 MB / 0.9102 GB, free: 3.086 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009967/0.7355, allocations: 0.6528 MB / 0.9109 GB, free: 2.359 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001525/0.7371, allocations: 0.9227 MB / 0.9118 GB, free: 1.398 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.304e-06/0.7371, allocations: 7.938 kB / 0.9118 GB, free: 1.391 MB / 0.67 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00239/0.7395, allocations: 1.35 MB / 0.9131 GB, free: 32 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.7395, allocations: 4 kB / 0.9131 GB, free: 28 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.7395, allocations: 4 kB / 0.9131 GB, free: 24 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.7395, allocations: 8 kB / 0.9131 GB, free: 16 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.7407, allocations: 279.5 kB / 0.9134 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.7407, allocations: 8 kB / 0.9134 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.7424, allocations: 88 kB / 0.9135 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.7425, allocations: 59.89 kB / 0.9135 GB, free: 15.59 MB / 0.6856 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.0002874/0.7428, allocations: 236.9 kB / 0.9138 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/0.7432, allocations: 201.4 kB / 0.914 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.7455, allocations: 1.102 MB / 0.915 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.7455, allocations: 8 kB / 0.915 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7455, allocations: 4 kB / 0.915 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.7455, allocations: 7.922 kB / 0.9151 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/0.7494, allocations: 2.449 MB / 0.9174 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.7494, allocations: 0 / 0.9174 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/0.75, allocations: 131.8 kB / 0.9176 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.75, allocations: 7.984 kB / 0.9176 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.7501, allocations: 20.19 kB / 0.9176 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.967e-05/0.7501, allocations: 4 kB / 0.9176 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7501, allocations: 7.938 kB / 0.9176 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.7516, allocations: 1.07 MB / 0.9187 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/0.7523, allocations: 358.2 kB / 0.919 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/0.7526, allocations: 23.98 kB / 0.919 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/0.7534, allocations: 31.91 kB / 0.919 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.7536, allocations: 60.58 kB / 0.9191 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.7536, allocations: 20 kB / 0.9191 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001776/0.7554, allocations: 1.256 MB / 0.9204 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.593e-06/0.7554, allocations: 0 / 0.9204 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002171/0.7576, allocations: 0.8964 MB / 0.9212 GB, free: 7.547 MB / 0.6856 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.0007275/0.7583, allocations: 343.5 kB / 0.9216 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003163/0.7615, allocations: 1.664 MB / 0.9232 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.7615, allocations: 5.5 kB / 0.9232 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006536/0.7622, allocations: 407.8 kB / 0.9236 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004674/0.7669, allocations: 1.093 MB / 0.9246 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/0.7723, allocations: 3.086 MB / 0.9277 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.7734, allocations: 1.405 MB / 0.929 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/0.774, allocations: 167.4 kB / 0.9292 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of SimCode: time 1.142e-06/0.774, allocations: 3.938 kB / 0.9292 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of Templates: time 0.04743/0.8215, allocations: 30.85 MB / 0.9593 GB, free: 0.8516 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)