Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008911/0.0008913, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4753/0.4753, allocations: 90.91 MB / 99.35 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009513/0.0009514, allocations: 87.14 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.702e-05/1.705e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.246, allocations: 380.7 MB / 0.9254 GB, free: 99.76 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/1.247, allocations: 101.4 kB / 0.9255 GB, free: 99.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.969/5.216, allocations: 1.117 GB / 2.042 GB, free: 53.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.402e-06/5.216, allocations: 0 / 2.042 GB, free: 53.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0006303/5.217, allocations: 67.86 kB / 2.043 GB, free: 53.24 MB / 0.6355 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.007186/5.224, allocations: 2.326 MB / 2.045 GB, free: 52.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/5.224, allocations: 9.469 kB / 2.045 GB, free: 52.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/5.225, allocations: 266.2 kB / 2.045 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/5.23, allocations: 1.601 MB / 2.047 GB, free: 51.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/5.23, allocations: 39.66 kB / 2.047 GB, free: 51.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004042/5.23, allocations: 86.69 kB / 2.047 GB, free: 51.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001853/5.232, allocations: 0.9355 MB / 2.048 GB, free: 51.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/5.234, allocations: 0.9526 MB / 2.049 GB, free: 51.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/5.234, allocations: 3.953 kB / 2.049 GB, free: 51.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-05/5.234, allocations: 1.062 kB / 2.049 GB, free: 51.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/5.234, allocations: 26.78 kB / 2.049 GB, free: 51.51 MB / 0.6355 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.008973/5.243, allocations: 6.084 MB / 2.055 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/5.244, allocations: 0.5823 MB / 2.055 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/5.244, allocations: 382.3 kB / 2.055 GB, free: 48.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003503/5.245, allocations: 0.5081 MB / 2.056 GB, free: 48.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/5.245, allocations: 38.75 kB / 2.056 GB, free: 48.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001842/5.246, allocations: 422.5 kB / 2.056 GB, free: 48.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=58): time 4.889e-06/5.246, allocations: 2.766 kB / 2.056 GB, free: 48.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58): time 0.001314/5.248, allocations: 0.8233 MB / 2.057 GB, free: 48.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/5.248, allocations: 62.92 kB / 2.057 GB, free: 48.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/5.249, allocations: 1.331 MB / 2.059 GB, free: 47.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/5.249, allocations: 25.7 kB / 2.059 GB, free: 47.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/5.25, allocations: 0.9105 MB / 2.059 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/5.25, allocations: 196.3 kB / 2.06 GB, free: 47.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/5.25, allocations: 3.5 kB / 2.06 GB, free: 47.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/5.25, allocations: 346.7 kB / 2.06 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/5.25, allocations: 378.3 kB / 2.06 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/5.251, allocations: 0.7003 MB / 2.061 GB, free: 46.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/5.252, allocations: 496.3 kB / 2.062 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/5.252, allocations: 0 / 2.062 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001704/5.254, allocations: 1.212 MB / 2.063 GB, free: 46.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/5.254, allocations: 0.9171 MB / 2.064 GB, free: 45.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/5.254, allocations: 4.797 kB / 2.064 GB, free: 45.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/5.254, allocations: 7.594 kB / 2.064 GB, free: 45.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/5.255, allocations: 273 kB / 2.064 GB, free: 45.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/5.255, allocations: 11.47 kB / 2.064 GB, free: 45.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/5.257, allocations: 128.9 kB / 2.064 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/5.257, allocations: 63.52 kB / 2.064 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/5.257, allocations: 4.375 kB / 2.064 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001375/5.258, allocations: 0.9528 MB / 2.065 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/5.258, allocations: 4.75 kB / 2.065 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/5.258, allocations: 5.844 kB / 2.065 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/5.259, allocations: 262.8 kB / 2.065 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/5.259, allocations: 8.312 kB / 2.065 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/5.261, allocations: 133.2 kB / 2.065 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.928e-05/5.261, allocations: 54 kB / 2.065 GB, free: 45.58 MB / 0.6355 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 (140): * Single equations (assignments): 140 * 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.0002029/5.261, allocations: 128.9 kB / 2.066 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001078/5.262, allocations: 0.778 MB / 2.066 GB, free: 45.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/5.262, allocations: 181.4 kB / 2.067 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/5.264, allocations: 0.9734 MB / 2.067 GB, free: 45.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/5.264, allocations: 11.59 kB / 2.067 GB, free: 45.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/5.264, allocations: 0.5 kB / 2.067 GB, free: 45.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/5.264, allocations: 3.188 kB / 2.067 GB, free: 45.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/5.267, allocations: 2.161 MB / 2.07 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/5.267, allocations: 8.844 kB / 2.07 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/5.268, allocations: 134.3 kB / 2.07 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/5.268, allocations: 4.125 kB / 2.07 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/5.268, allocations: 14.69 kB / 2.07 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/5.268, allocations: 3.75 kB / 2.07 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/5.268, allocations: 4.75 kB / 2.07 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/5.269, allocations: 1.069 MB / 2.071 GB, free: 44.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/5.27, allocations: 345.8 kB / 2.071 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/5.27, allocations: 3.938 kB / 2.071 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/5.271, allocations: 105.6 kB / 2.071 GB, free: 44.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/5.271, allocations: 56.31 kB / 2.071 GB, free: 44.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/5.271, allocations: 26.12 kB / 2.071 GB, free: 44.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001077/5.272, allocations: 0.9683 MB / 2.072 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/5.272, allocations: 1.031 kB / 2.072 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002657/5.275, allocations: 0.9528 MB / 2.073 GB, free: 43.81 MB / 0.6355 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.002858/5.278, allocations: 2.874 MB / 2.076 GB, free: 42.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001979/5.28, allocations: 1.476 MB / 2.077 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/5.28, allocations: 2.953 kB / 2.077 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003965/5.28, allocations: 362.6 kB / 2.078 GB, free: 42.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/5.284, allocations: 0.9181 MB / 2.079 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/5.288, allocations: 2.485 MB / 2.081 GB, free: 41.44 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/5.289, allocations: 1.447 MB / 2.083 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00191/5.291, allocations: 474.4 kB / 2.083 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008002/5.292, allocations: 0.7906 MB / 2.084 GB, free: 40.67 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/5.292, allocations: 0 / 2.084 GB, free: 40.67 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/5.397, allocations: 53.23 MB / 2.136 GB, free: 37.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/5.398, allocations: 188.3 kB / 2.136 GB, free: 37.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/9.516, allocations: 4 kB / 2.136 GB, free: 37.29 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)