Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 177.1 kB / 498.1 MB, free: 5.719 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 0.7948 GB, free: 18.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 100.6 kB / 0.9346 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 9.281 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.234, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9361/1.17, allocations: 429.3 MB / 1.642 GB, free: 3.656 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.171, allocations: 105.6 kB / 1.642 GB, free: 3.598 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.062/5.232, allocations: 1.126 GB / 2.769 GB, free: 157.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.687e-06/5.232, allocations: 3.281 kB / 2.769 GB, free: 157.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003246/5.233, allocations: 71.16 kB / 2.769 GB, free: 157.6 MB / 1.167 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.008872/5.241, allocations: 2.74 MB / 2.771 GB, free: 156.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/5.241, allocations: 9.438 kB / 2.771 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004751/5.242, allocations: 178.5 kB / 2.771 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/5.243, allocations: 266 kB / 2.772 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004212/5.247, allocations: 1.626 MB / 2.773 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.933e-05/5.247, allocations: 114 kB / 2.773 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/5.247, allocations: 148.3 kB / 2.774 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/5.249, allocations: 1.15 MB / 2.775 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/5.25, allocations: 3.062 kB / 2.775 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/5.25, allocations: 46.06 kB / 2.775 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/5.25, allocations: 31.77 kB / 2.775 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/5.252, allocations: 1.012 MB / 2.776 GB, free: 156.2 MB / 1.167 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.01167/5.263, allocations: 6.387 MB / 2.782 GB, free: 153.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/5.264, allocations: 0.59 MB / 2.783 GB, free: 153.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/5.265, allocations: 0.5116 MB / 2.783 GB, free: 153.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/5.265, allocations: 44.06 kB / 2.783 GB, free: 153 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002411/5.267, allocations: 470.4 kB / 2.784 GB, free: 153 MB / 1.167 GB Notification: Performance of pre-optimization done (n=58): time 4.008e-06/5.267, allocations: 0 / 2.784 GB, free: 153 MB / 1.167 GB Notification: Performance of matching and sorting (n=58): time 0.001834/5.269, allocations: 1.138 MB / 2.785 GB, free: 152.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/5.269, allocations: 59.42 kB / 2.785 GB, free: 152.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/5.271, allocations: 1.646 MB / 2.786 GB, free: 152.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.034e-05/5.271, allocations: 55.83 kB / 2.786 GB, free: 152.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006713/5.272, allocations: 0.9287 MB / 2.787 GB, free: 152.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/5.272, allocations: 207.9 kB / 2.788 GB, free: 152.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/5.272, allocations: 23.31 kB / 2.788 GB, free: 152.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.174e-05/5.272, allocations: 348.8 kB / 2.788 GB, free: 151.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006316/5.272, allocations: 413.4 kB / 2.788 GB, free: 151.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/5.273, allocations: 0.7582 MB / 2.789 GB, free: 151.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/5.274, allocations: 0.4964 MB / 2.789 GB, free: 151.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/5.274, allocations: 2.188 kB / 2.789 GB, free: 151.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001986/5.276, allocations: 1.344 MB / 2.791 GB, free: 151.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000287/5.276, allocations: 0.9361 MB / 2.792 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/5.276, allocations: 3.594 kB / 2.792 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/5.276, allocations: 7.844 kB / 2.792 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/5.278, allocations: 284.3 kB / 2.792 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/5.278, allocations: 7.906 kB / 2.792 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/5.28, allocations: 163.4 kB / 2.792 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/5.28, allocations: 59.2 kB / 2.792 GB, free: 150.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/5.28, allocations: 9.828 kB / 2.792 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001717/5.282, allocations: 1.116 MB / 2.793 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/5.282, allocations: 0 / 2.793 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/5.282, allocations: 7.562 kB / 2.793 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/5.283, allocations: 281.1 kB / 2.794 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/5.283, allocations: 10.22 kB / 2.794 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/5.285, allocations: 163.9 kB / 2.794 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/5.285, allocations: 64.56 kB / 2.794 GB, free: 150.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (146): * Single equations (assignments): 146 * 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.001037/5.286, allocations: 448.9 kB / 2.794 GB, free: 150.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/5.286, allocations: 206.2 kB / 2.794 GB, free: 150 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/5.288, allocations: 1.079 MB / 2.795 GB, free: 150 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/5.288, allocations: 10.83 kB / 2.795 GB, free: 150 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/5.288, allocations: 2.906 kB / 2.795 GB, free: 150 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/5.288, allocations: 3.797 kB / 2.796 GB, free: 150 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/5.292, allocations: 2.405 MB / 2.798 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/5.292, allocations: 0 / 2.798 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/5.293, allocations: 143.9 kB / 2.798 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/5.293, allocations: 3.75 kB / 2.798 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/5.293, allocations: 18.12 kB / 2.798 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/5.293, allocations: 6.781 kB / 2.798 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/5.293, allocations: 0 / 2.798 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/5.294, allocations: 1.182 MB / 2.799 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008691/5.295, allocations: 368.2 kB / 2.8 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/5.295, allocations: 20.84 kB / 2.8 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/5.296, allocations: 112.6 kB / 2.8 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/5.297, allocations: 53.92 kB / 2.8 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/5.297, allocations: 32.31 kB / 2.8 GB, free: 148.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00162/5.298, allocations: 1.244 MB / 2.801 GB, free: 148.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/5.298, allocations: 0 / 2.801 GB, free: 148.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002905/5.301, allocations: 0.9875 MB / 2.802 GB, free: 148.7 MB / 1.167 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.003224/5.304, allocations: 2.96 MB / 2.805 GB, free: 147.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002798/5.307, allocations: 1.581 MB / 2.806 GB, free: 147.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.251e-05/5.307, allocations: 0 / 2.806 GB, free: 147.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006294/5.308, allocations: 400.3 kB / 2.807 GB, free: 147.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005415/5.313, allocations: 1.125 MB / 2.808 GB, free: 147.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006916/5.32, allocations: 5.885 MB / 2.814 GB, free: 143.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000996/5.321, allocations: 1.452 MB / 2.815 GB, free: 142.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002064/5.323, allocations: 407 kB / 2.815 GB, free: 142.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000949/5.324, allocations: 0.821 MB / 2.816 GB, free: 142.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.463e-06/5.324, allocations: 0 / 2.816 GB, free: 142.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/5.43, allocations: 62.75 MB / 2.877 GB, free: 140.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/5.43, allocations: 248.9 kB / 2.878 GB, free: 140.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.635/10.07, allocations: 3.75 kB / 2.878 GB, free: 140.6 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat does not exist to compare? outputFormat=mat