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.439/2.439, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001212/0.001212, allocations: 180.9 kB / 487.4 MB, free: 5.047 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.627/1.627, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009432/0.0009431, allocations: 99.84 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.572e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2899, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.522, allocations: 428.6 MB / 1.625 GB, free: 9.941 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.522, allocations: 99.41 kB / 1.625 GB, free: 9.891 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.307/5.829, allocations: 1.117 GB / 2.742 GB, free: 174.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.663e-06/5.829, allocations: 0 / 2.742 GB, free: 174.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003163/5.829, allocations: 69.19 kB / 2.742 GB, free: 174.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.006651/5.836, allocations: 2.322 MB / 2.744 GB, free: 173.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/5.836, allocations: 7.406 kB / 2.744 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009419/5.837, allocations: 273.5 kB / 2.744 GB, free: 173.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004528/5.841, allocations: 1.595 MB / 2.746 GB, free: 173.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/5.841, allocations: 36.19 kB / 2.746 GB, free: 173.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/5.842, allocations: 90.62 kB / 2.746 GB, free: 173.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001714/5.843, allocations: 0.9356 MB / 2.747 GB, free: 173.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/5.845, allocations: 0.9499 MB / 2.748 GB, free: 173.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/5.845, allocations: 0 / 2.748 GB, free: 173.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/5.845, allocations: 352 / 2.748 GB, free: 173.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/5.845, allocations: 33.64 kB / 2.748 GB, free: 173.1 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.01009/5.855, allocations: 6.088 MB / 2.754 GB, free: 170.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/5.856, allocations: 0.5838 MB / 2.754 GB, free: 170.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/5.857, allocations: 383.8 kB / 2.755 GB, free: 170.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003425/5.857, allocations: 0.5129 MB / 2.755 GB, free: 170 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/5.857, allocations: 44.69 kB / 2.755 GB, free: 169.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002148/5.859, allocations: 420.5 kB / 2.756 GB, free: 169.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=58): time 6.432e-06/5.859, allocations: 0 / 2.756 GB, free: 169.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=58): time 0.001686/5.861, allocations: 0.8212 MB / 2.757 GB, free: 169.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/5.861, allocations: 57.78 kB / 2.757 GB, free: 169.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/5.863, allocations: 1.332 MB / 2.758 GB, free: 169.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/5.863, allocations: 29.39 kB / 2.758 GB, free: 169.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006382/5.863, allocations: 0.9194 MB / 2.759 GB, free: 169.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/5.864, allocations: 204.9 kB / 2.759 GB, free: 169 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/5.864, allocations: 0 / 2.759 GB, free: 169 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/5.864, allocations: 352.2 kB / 2.759 GB, free: 168.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/5.864, allocations: 381.2 kB / 2.76 GB, free: 168.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/5.865, allocations: 0.7038 MB / 2.76 GB, free: 168.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/5.866, allocations: 490.7 kB / 2.761 GB, free: 168.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/5.866, allocations: 0 / 2.761 GB, free: 168.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001992/5.868, allocations: 1.24 MB / 2.762 GB, free: 168.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/5.868, allocations: 0.9218 MB / 2.763 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/5.868, allocations: 3.719 kB / 2.763 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/5.868, allocations: 7.875 kB / 2.763 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/5.869, allocations: 277.2 kB / 2.763 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/5.869, allocations: 7.812 kB / 2.763 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/5.871, allocations: 130.8 kB / 2.763 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/5.871, allocations: 62.97 kB / 2.763 GB, free: 167.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/5.871, allocations: 3.875 kB / 2.763 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/5.873, allocations: 0.9668 MB / 2.764 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/5.873, allocations: 7.5 kB / 2.764 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/5.873, allocations: 11.67 kB / 2.764 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/5.874, allocations: 273 kB / 2.765 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/5.874, allocations: 9.875 kB / 2.765 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/5.876, allocations: 136.1 kB / 2.765 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/5.876, allocations: 58.89 kB / 2.765 GB, free: 167.2 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 () * 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.0002396/5.876, allocations: 131.6 kB / 2.765 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001289/5.877, allocations: 0.7703 MB / 2.766 GB, free: 166.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/5.878, allocations: 189.5 kB / 2.766 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/5.88, allocations: 0.9738 MB / 2.767 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/5.88, allocations: 7.844 kB / 2.767 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/5.88, allocations: 0 / 2.767 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/5.88, allocations: 3.891 kB / 2.767 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/5.883, allocations: 2.165 MB / 2.769 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/5.883, allocations: 3.375 kB / 2.769 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/5.884, allocations: 135.6 kB / 2.769 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/5.884, allocations: 6.875 kB / 2.769 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/5.884, allocations: 10.44 kB / 2.769 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/5.884, allocations: 6.062 kB / 2.769 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/5.884, allocations: 7.375 kB / 2.769 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/5.885, allocations: 1.064 MB / 2.77 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006924/5.886, allocations: 356.8 kB / 2.771 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/5.886, allocations: 6.859 kB / 2.771 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/5.887, allocations: 95.53 kB / 2.771 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/5.887, allocations: 58.48 kB / 2.771 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/5.887, allocations: 26.97 kB / 2.771 GB, free: 165.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001195/5.889, allocations: 0.9689 MB / 2.772 GB, free: 165.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/5.889, allocations: 0 / 2.772 GB, free: 165.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003099/5.892, allocations: 0.9702 MB / 2.773 GB, free: 165.4 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 () * 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.003/5.895, allocations: 2.877 MB / 2.775 GB, free: 163.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002537/5.897, allocations: 1.502 MB / 2.777 GB, free: 163.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/5.897, allocations: 7 kB / 2.777 GB, free: 163.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004749/5.898, allocations: 359.9 kB / 2.777 GB, free: 163.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00548/5.903, allocations: 0.9164 MB / 2.778 GB, free: 163.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005373/5.909, allocations: 2.484 MB / 2.781 GB, free: 163 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/5.909, allocations: 1.451 MB / 2.782 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002287/5.912, allocations: 473.5 kB / 2.782 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/5.913, allocations: 0.7879 MB / 2.783 GB, free: 162.3 MB / 1.167 GB Notification: Performance of SimCode: time 8.41e-07/5.913, allocations: 0 / 2.783 GB, free: 162.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09132/6.004, allocations: 53.4 MB / 2.835 GB, free: 160 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/6.004, allocations: 196.9 kB / 2.836 GB, free: 159.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.291/10.3, allocations: 0 / 2.836 GB, free: 159.8 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