Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.001431, allocations: 101.9 kB / 15.06 MB, free: 1.098 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.001586/0.001587, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.802/1.802, allocations: 251.9 MB / 0.51 GB, free: 4.879 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009721/0.0009724, allocations: 12 kB / 0.6241 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6234/0.6244, allocations: 106.3 MB / 0.728 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02736/0.6518, allocations: 26.1 MB / 0.7535 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01976/0.6717, allocations: 12.26 MB / 0.7654 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.6734, allocations: 27.75 kB / 0.7655 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.6751, allocations: 0.5094 MB / 0.766 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004124/0.6793, allocations: 1.104 MB / 0.767 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007606/0.6869, allocations: 2.268 MB / 0.7692 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002802/0.6897, allocations: 1.234 MB / 0.7704 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008529/0.6906, allocations: 0.5304 MB / 0.771 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.6922, allocations: 0.767 MB / 0.7717 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000648/0.6929, allocations: 450.1 kB / 0.7721 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.63e-05/0.693, allocations: 32 kB / 0.7722 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009927/0.694, allocations: 395.4 kB / 0.7726 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.6941, allocations: 123.4 kB / 0.7727 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.6943, allocations: 181.3 kB / 0.7728 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.6951, allocations: 0.6935 MB / 0.7735 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6951, allocations: 0 / 0.7735 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6951, allocations: 0 / 0.7735 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.6951, allocations: 3.938 kB / 0.7735 GB, free: 12.74 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001588/0.6967, allocations: 1.004 MB / 0.7745 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6968, allocations: 12.03 kB / 0.7745 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.6969, allocations: 90.88 kB / 0.7746 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008011/0.6977, allocations: 0.5344 MB / 0.7751 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.6978, allocations: 37 kB / 0.7752 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.6978, allocations: 56 kB / 0.7752 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006833/0.6985, allocations: 410.4 kB / 0.7756 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6986, allocations: 0 / 0.7756 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.6986, allocations: 19.95 kB / 0.7756 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.6986, allocations: 12 kB / 0.7756 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005628/0.6992, allocations: 311.8 kB / 0.7759 GB, free: 10.18 MB / 0.5919 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.00261/0.7018, allocations: 1.85 MB / 0.7777 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.7022, allocations: 178.4 kB / 0.7779 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/0.7025, allocations: 336.5 kB / 0.7782 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.7025, allocations: 34.56 kB / 0.7783 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.7025, allocations: 0 / 0.7783 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.000725/0.7032, allocations: 317 kB / 0.7786 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.7033, allocations: 55.34 kB / 0.7786 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/0.704, allocations: 0.6647 MB / 0.7793 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.7041, allocations: 33.7 kB / 0.7793 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.7044, allocations: 363.9 kB / 0.7796 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.7044, allocations: 75.08 kB / 0.7797 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.7044, allocations: 4 kB / 0.7797 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7046, allocations: 378.7 kB / 0.7801 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.7048, allocations: 99.94 kB / 0.7802 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.7052, allocations: 174.2 kB / 0.7803 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.7054, allocations: 121.6 kB / 0.7805 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.7054, allocations: 0 / 0.7805 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006536/0.7061, allocations: 394.5 kB / 0.7808 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.7062, allocations: 278.9 kB / 0.7811 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.7062, allocations: 4.031 kB / 0.7811 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.7063, allocations: 112 / 0.7811 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009963/0.7073, allocations: 167.7 kB / 0.7813 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.7085, allocations: 2.368 MB / 0.7836 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.7091, allocations: 87.59 kB / 0.7837 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.7091, allocations: 15.98 kB / 0.7837 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.7092, allocations: 9.812 kB / 0.7837 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005383/0.7097, allocations: 296.2 kB / 0.784 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.7097, allocations: 0 / 0.784 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.7097, allocations: 4 kB / 0.784 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.7101, allocations: 103.8 kB / 0.7841 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.7101, allocations: 0 / 0.7841 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.7106, allocations: 75.62 kB / 0.7841 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.7106, allocations: 19.98 kB / 0.7842 GB, free: 1.305 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.7109, allocations: 261.6 kB / 0.7844 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.711, allocations: 67.16 kB / 0.7845 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006497/0.7117, allocations: 322.5 kB / 0.7848 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.7117, allocations: 7.953 kB / 0.7848 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7117, allocations: 0 / 0.7848 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.7117, allocations: 0 / 0.7848 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.713, allocations: 0.894 MB / 0.7857 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.713, allocations: 0 / 0.7857 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.7133, allocations: 83.86 kB / 0.7857 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7134, allocations: 0 / 0.7857 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.7134, allocations: 8.125 kB / 0.7858 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.7145, allocations: 2.356 MB / 0.7881 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7145, allocations: 0 / 0.7881 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005863/0.7151, allocations: 457.4 kB / 0.7885 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.7153, allocations: 172 kB / 0.7887 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.7154, allocations: 4 kB / 0.7887 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.7157, allocations: 55.94 kB / 0.7887 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.7158, allocations: 15.94 kB / 0.7887 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.7158, allocations: 12 kB / 0.7887 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005667/0.7164, allocations: 463 kB / 0.7892 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.683e-06/0.7164, allocations: 0 / 0.7892 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009841/0.7174, allocations: 359 kB / 0.7895 GB, free: 11.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005006/0.7179, allocations: 238.7 kB / 0.7897 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.7194, allocations: 0.4996 MB / 0.7902 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7195, allocations: 0 / 0.7902 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.7198, allocations: 142.3 kB / 0.7904 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.7218, allocations: 373.3 kB / 0.7907 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.7239, allocations: 1.319 MB / 0.792 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.7244, allocations: 0.9492 MB / 0.7929 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004691/0.7249, allocations: 120.3 kB / 0.7931 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.315e-05/0.725, allocations: 47.42 kB / 0.7931 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.725, allocations: 0 / 0.7931 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of Templates: time 0.02357/0.7486, allocations: 12.04 MB / 0.8049 GB, free: 12.03 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: