Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_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.001372/0.001371, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7129/0.7129, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008948/0.0008948, allocations: 89.72 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.49e-05, allocations: 3.469 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1737, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/1.523, allocations: 391.1 MB / 1.022 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/1.523, allocations: 95.94 kB / 1.023 GB, free: 231 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.957/5.48, allocations: 1.123 GB / 2.145 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.403e-06/5.481, allocations: 0 / 2.145 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003939/5.481, allocations: 66 kB / 2.145 GB, free: 60.95 MB / 0.7136 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.006754/5.488, allocations: 2.336 MB / 2.147 GB, free: 59.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/5.488, allocations: 13 kB / 2.147 GB, free: 59.92 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005384/5.488, allocations: 173.6 kB / 2.148 GB, free: 59.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/5.489, allocations: 265.4 kB / 2.148 GB, free: 59.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/5.494, allocations: 1.595 MB / 2.149 GB, free: 59.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/5.495, allocations: 110.3 kB / 2.15 GB, free: 59.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004068/5.495, allocations: 146.7 kB / 2.15 GB, free: 59.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/5.497, allocations: 1.108 MB / 2.151 GB, free: 59.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/5.497, allocations: 0 / 2.151 GB, free: 59.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/5.497, allocations: 50.25 kB / 2.151 GB, free: 59.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/5.498, allocations: 30.97 kB / 2.151 GB, free: 59.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/5.499, allocations: 0.9544 MB / 2.152 GB, free: 59.16 MB / 0.7136 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.01008/5.509, allocations: 6.38 MB / 2.158 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/5.51, allocations: 0.5621 MB / 2.159 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/5.51, allocations: 381.3 kB / 2.159 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/5.511, allocations: 0.5088 MB / 2.159 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/5.511, allocations: 42.62 kB / 2.159 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002127/5.513, allocations: 476.7 kB / 2.16 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 8.376e-06/5.513, allocations: 0 / 2.16 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.001594/5.515, allocations: 0.8289 MB / 2.161 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/5.515, allocations: 56.5 kB / 2.161 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/5.517, allocations: 1.618 MB / 2.162 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/5.517, allocations: 54.86 kB / 2.162 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005822/5.517, allocations: 0.9369 MB / 2.163 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/5.517, allocations: 203.9 kB / 2.164 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/5.517, allocations: 20.03 kB / 2.164 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/5.518, allocations: 354.2 kB / 2.164 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/5.518, allocations: 385.2 kB / 2.164 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007648/5.519, allocations: 0.7175 MB / 2.165 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/5.52, allocations: 493.1 kB / 2.165 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/5.52, allocations: 3.969 kB / 2.165 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001789/5.521, allocations: 1.289 MB / 2.167 GB, free: 54.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/5.522, allocations: 0.9288 MB / 2.168 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/5.522, allocations: 4.25 kB / 2.168 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/5.522, allocations: 6.5 kB / 2.168 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/5.523, allocations: 283.3 kB / 2.168 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/5.523, allocations: 10.81 kB / 2.168 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/5.525, allocations: 164.8 kB / 2.168 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/5.525, allocations: 62.12 kB / 2.168 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/5.525, allocations: 4.719 kB / 2.168 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/5.526, allocations: 1.065 MB / 2.169 GB, free: 53.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/5.526, allocations: 1.969 kB / 2.169 GB, free: 53.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/5.526, allocations: 11.23 kB / 2.169 GB, free: 53.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/5.527, allocations: 275.5 kB / 2.169 GB, free: 53.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/5.527, allocations: 6 kB / 2.169 GB, free: 53.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/5.529, allocations: 164.2 kB / 2.17 GB, free: 53.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-05/5.529, allocations: 63.38 kB / 2.17 GB, free: 53.08 MB / 0.7136 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.0002167/5.529, allocations: 171.7 kB / 2.17 GB, free: 52.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/5.529, allocations: 201.8 kB / 2.17 GB, free: 52.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/5.531, allocations: 1.03 MB / 2.171 GB, free: 52.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/5.531, allocations: 13.7 kB / 2.171 GB, free: 52.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/5.531, allocations: 1.594 kB / 2.171 GB, free: 52.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/5.531, allocations: 3.797 kB / 2.171 GB, free: 52.76 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/5.534, allocations: 2.367 MB / 2.173 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/5.534, allocations: 0 / 2.173 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/5.535, allocations: 135.7 kB / 2.173 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/5.535, allocations: 9.531 kB / 2.173 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/5.535, allocations: 24.64 kB / 2.173 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/5.535, allocations: 5 kB / 2.173 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/5.535, allocations: 6.5 kB / 2.173 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/5.536, allocations: 1.131 MB / 2.175 GB, free: 51.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00055/5.537, allocations: 378.4 kB / 2.175 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/5.537, allocations: 13.34 kB / 2.175 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009774/5.538, allocations: 112.6 kB / 2.175 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/5.538, allocations: 47.31 kB / 2.175 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/5.538, allocations: 28.94 kB / 2.175 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00144/5.54, allocations: 1.222 MB / 2.176 GB, free: 51.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/5.54, allocations: 1.781 kB / 2.176 GB, free: 51.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002305/5.542, allocations: 0.9857 MB / 2.177 GB, free: 51.41 MB / 0.7136 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.002757/5.545, allocations: 2.915 MB / 2.18 GB, free: 49.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002193/5.547, allocations: 1.578 MB / 2.182 GB, free: 49.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/5.547, allocations: 1.188 kB / 2.182 GB, free: 49.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/5.547, allocations: 382.8 kB / 2.182 GB, free: 49.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005161/5.552, allocations: 1.12 MB / 2.183 GB, free: 49.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/5.558, allocations: 2.594 MB / 2.186 GB, free: 49.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009125/5.558, allocations: 1.456 MB / 2.187 GB, free: 48.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002556/5.561, allocations: 0.5204 MB / 2.188 GB, free: 48.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008776/5.562, allocations: 0.7894 MB / 2.188 GB, free: 48.25 MB / 0.7136 GB Notification: Performance of SimCode: time 9.81e-07/5.562, allocations: 0 / 2.188 GB, free: 48.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/5.672, allocations: 67.75 MB / 2.255 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/5.673, allocations: 208.6 kB / 2.255 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.466/10.14, allocations: 0 / 2.255 GB, free: 42.58 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)