Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009868/0.0009869, allocations: 91.84 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.001135/0.001135, allocations: 172.7 kB / 15.95 MB, free: 208 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.661/1.661, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.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.0005887/0.0005888, allocations: 18.69 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2567, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.7587/1.015, allocations: 143.3 MB / 0.9274 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05063/1.066, allocations: 32.86 MB / 0.9595 GB, free: 36.06 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008016/1.074, allocations: 137.1 kB / 0.9596 GB, free: 36.06 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003755/1.078, allocations: 0.6938 MB / 0.9603 GB, free: 36.05 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01216/1.09, allocations: 2.492 MB / 0.9627 GB, free: 35.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006808/1.097, allocations: 1.995 MB / 0.9647 GB, free: 35.03 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01141/1.108, allocations: 6.193 MB / 0.9707 GB, free: 32.63 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005205/1.114, allocations: 1.645 MB / 0.9723 GB, free: 32.06 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007916/1.122, allocations: 2.179 MB / 0.9744 GB, free: 31.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005205/1.127, allocations: 1.774 MB / 0.9762 GB, free: 30.7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0013/1.128, allocations: 95.16 kB / 0.9763 GB, free: 30.7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004499/1.133, allocations: 0.8454 MB / 0.9771 GB, free: 30.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001362/1.134, allocations: 411.2 kB / 0.9775 GB, free: 30.3 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002201/1.136, allocations: 466.8 kB / 0.9779 GB, free: 30.05 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004185/1.141, allocations: 2.38 MB / 0.9803 GB, free: 28.56 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.141, allocations: 0 / 0.9803 GB, free: 28.56 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.374e-06/1.141, allocations: 0 / 0.9803 GB, free: 28.56 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001713/1.141, allocations: 0 / 0.9803 GB, free: 28.56 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.006108/1.147, allocations: 2.335 MB / 0.9825 GB, free: 26.9 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.147, allocations: 9.719 kB / 0.9825 GB, free: 26.9 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005139/1.148, allocations: 172.9 kB / 0.9827 GB, free: 26.76 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000945/1.148, allocations: 260.8 kB / 0.983 GB, free: 26.62 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/1.151, allocations: 1.357 MB / 0.9843 GB, free: 25.62 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/1.151, allocations: 101.9 kB / 0.9844 GB, free: 25.58 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/1.151, allocations: 143.9 kB / 0.9845 GB, free: 25.53 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/1.153, allocations: 1.156 MB / 0.9857 GB, free: 24.83 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/1.153, allocations: 0 / 0.9857 GB, free: 24.83 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.459e-05/1.154, allocations: 53.89 kB / 0.9857 GB, free: 24.79 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/1.154, allocations: 32.75 kB / 0.9857 GB, free: 24.79 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/1.155, allocations: 1.007 MB / 0.9867 GB, free: 24.28 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.008746/1.164, allocations: 6.333 MB / 0.9929 GB, free: 19.11 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/1.165, allocations: 0.5684 MB / 0.9935 GB, free: 18.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/1.165, allocations: 391.8 kB / 0.9938 GB, free: 18.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003631/1.166, allocations: 0.5117 MB / 0.9943 GB, free: 18.01 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/1.166, allocations: 35.12 kB / 0.9944 GB, free: 17.97 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001629/1.167, allocations: 333.2 kB / 0.9947 GB, free: 17.81 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 4.689e-06/1.167, allocations: 2.844 kB / 0.9947 GB, free: 17.81 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.001947/1.169, allocations: 1.126 MB / 0.9958 GB, free: 17.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/1.17, allocations: 61.84 kB / 0.9958 GB, free: 17.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/1.172, allocations: 1.825 MB / 0.9976 GB, free: 16.15 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.878e-05/1.172, allocations: 43.7 kB / 0.9977 GB, free: 16.11 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006642/1.173, allocations: 0.9093 MB / 0.9986 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/1.173, allocations: 207.6 kB / 0.9988 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/1.173, allocations: 25.16 kB / 0.9988 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.173, allocations: 354.2 kB / 0.9991 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006563/1.174, allocations: 416.1 kB / 0.9995 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008165/1.174, allocations: 0.656 MB / 1 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007941/1.175, allocations: 0.4971 MB / 1.001 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.175, allocations: 0 / 1.001 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002085/1.177, allocations: 1.357 MB / 1.002 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.177, allocations: 198.1 kB / 1.002 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.177, allocations: 3.312 kB / 1.002 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/1.177, allocations: 9.797 kB / 1.002 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.179, allocations: 293.7 kB / 1.002 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/1.179, allocations: 9.75 kB / 1.002 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.181, allocations: 152.7 kB / 1.003 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/1.181, allocations: 68.3 kB / 1.003 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/1.181, allocations: 7.312 kB / 1.003 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001839/1.183, allocations: 1.139 MB / 1.004 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.183, allocations: 2.719 kB / 1.004 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.183, allocations: 10.19 kB / 1.004 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/1.184, allocations: 282.6 kB / 1.004 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/1.184, allocations: 9.094 kB / 1.004 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.185, allocations: 148.5 kB / 1.004 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.97e-05/1.185, allocations: 62.48 kB / 1.004 GB, free: 12.01 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009073/1.186, allocations: 448.8 kB / 1.005 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/1.186, allocations: 195.3 kB / 1.005 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/1.188, allocations: 1.079 MB / 1.006 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/1.188, allocations: 7.75 kB / 1.006 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.188, allocations: 0 / 1.006 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/1.188, allocations: 3.984 kB / 1.006 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/1.192, allocations: 2.393 MB / 1.008 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.192, allocations: 3.938 kB / 1.008 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/1.192, allocations: 143.2 kB / 1.008 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.457e-06/1.192, allocations: 3.438 kB / 1.008 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/1.192, allocations: 18.83 kB / 1.008 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/1.192, allocations: 10.61 kB / 1.008 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.192, allocations: 0 / 1.008 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/1.194, allocations: 1.055 MB / 1.009 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005439/1.194, allocations: 368 kB / 1.01 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/1.194, allocations: 22.52 kB / 1.01 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007814/1.195, allocations: 94.78 kB / 1.01 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.195, allocations: 57.67 kB / 1.01 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/1.195, allocations: 21.56 kB / 1.01 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001326/1.197, allocations: 1.201 MB / 1.011 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/1.197, allocations: 0 / 1.011 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002215/1.199, allocations: 0.8926 MB / 1.012 GB, free: 6.266 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00214/1.201, allocations: 1.849 MB / 1.014 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00231/1.203, allocations: 1.579 MB / 1.015 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.203, allocations: 0 / 1.015 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004888/1.204, allocations: 400.6 kB / 1.016 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004953/1.209, allocations: 1.159 MB / 1.017 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/1.23, allocations: 11.09 MB / 1.028 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.231, allocations: 1.39 MB / 1.029 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002227/1.233, allocations: 406 kB / 1.03 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.235, allocations: 0.8312 MB / 1.03 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of SimCode: time 1.232e-06/1.235, allocations: 0 / 1.03 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.336, allocations: 53.92 MB / 1.083 GB, free: 13.57 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/1.336, allocations: 250 kB / 1.083 GB, free: 13.23 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.001/5.338, allocations: 0 / 1.083 GB, free: 13.23 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: