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.0009648/0.0009648, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7849/0.7849, allocations: 133.6 MB / 141.6 MB, free: 2.941 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 221.5 MB / 395.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008558/0.0008559, allocations: 95.58 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.309e-05, allocations: 7.938 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4794, allocations: 82.29 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8647/1.344, allocations: 390.4 MB / 1.015 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/1.345, allocations: 98.62 kB / 1.015 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.011/5.356, allocations: 1.117 GB / 2.132 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/5.356, allocations: 0 / 2.132 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00027/5.356, allocations: 71.91 kB / 2.132 GB, free: 4.059 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.006363/5.362, allocations: 2.32 MB / 2.134 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/5.363, allocations: 12.03 kB / 2.134 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009847/5.364, allocations: 269.2 kB / 2.135 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5274/5.891, allocations: 1.588 MB / 2.136 GB, free: 67.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/5.891, allocations: 38.16 kB / 2.136 GB, free: 67.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003833/5.891, allocations: 88.75 kB / 2.136 GB, free: 67.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002169/5.894, allocations: 0.9312 MB / 2.137 GB, free: 67.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/5.896, allocations: 0.9499 MB / 2.138 GB, free: 67.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/5.896, allocations: 1.5 kB / 2.138 GB, free: 67.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/5.896, allocations: 0.75 kB / 2.138 GB, free: 67.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/5.896, allocations: 29.56 kB / 2.138 GB, free: 67.68 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.01108/5.907, allocations: 6.074 MB / 2.144 GB, free: 65.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/5.908, allocations: 0.5974 MB / 2.145 GB, free: 65.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/5.908, allocations: 379.1 kB / 2.145 GB, free: 65.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000346/5.909, allocations: 0.518 MB / 2.146 GB, free: 64.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/5.909, allocations: 39.94 kB / 2.146 GB, free: 64.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002069/5.911, allocations: 421.8 kB / 2.146 GB, free: 64.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 3.276e-06/5.911, allocations: 3.562 kB / 2.146 GB, free: 64.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.001449/5.912, allocations: 0.8193 MB / 2.147 GB, free: 64.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/5.912, allocations: 63.28 kB / 2.147 GB, free: 64.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/5.914, allocations: 1.319 MB / 2.148 GB, free: 64.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.36e-05/5.914, allocations: 30.92 kB / 2.148 GB, free: 64.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/5.914, allocations: 0.924 MB / 2.149 GB, free: 63.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/5.914, allocations: 191.2 kB / 2.149 GB, free: 63.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/5.915, allocations: 0 / 2.149 GB, free: 63.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.104e-05/5.915, allocations: 349.6 kB / 2.15 GB, free: 63.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/5.915, allocations: 386 kB / 2.15 GB, free: 63.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006611/5.916, allocations: 0.6979 MB / 2.151 GB, free: 63.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007691/5.917, allocations: 497.9 kB / 2.151 GB, free: 63.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/5.917, allocations: 3.625 kB / 2.151 GB, free: 63.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001798/5.918, allocations: 1.236 MB / 2.152 GB, free: 63.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001875/5.919, allocations: 0.9199 MB / 2.153 GB, free: 62.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/5.919, allocations: 9.656 kB / 2.153 GB, free: 62.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/5.919, allocations: 10.95 kB / 2.153 GB, free: 62.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/5.92, allocations: 282.3 kB / 2.154 GB, free: 62.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/5.92, allocations: 12.66 kB / 2.154 GB, free: 62.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/5.922, allocations: 129 kB / 2.154 GB, free: 62.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/5.922, allocations: 65.17 kB / 2.154 GB, free: 62.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/5.922, allocations: 3.531 kB / 2.154 GB, free: 62.08 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001394/5.923, allocations: 0.9684 MB / 2.155 GB, free: 62.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/5.923, allocations: 0.6562 kB / 2.155 GB, free: 62.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/5.923, allocations: 7.719 kB / 2.155 GB, free: 62.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/5.924, allocations: 275.3 kB / 2.155 GB, free: 62.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/5.924, allocations: 12.53 kB / 2.155 GB, free: 62.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/5.926, allocations: 126.8 kB / 2.155 GB, free: 62.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/5.926, allocations: 64.42 kB / 2.155 GB, free: 62.05 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.0002007/5.926, allocations: 131.9 kB / 2.155 GB, free: 61.94 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001086/5.927, allocations: 0.7721 MB / 2.156 GB, free: 61.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/5.927, allocations: 180.9 kB / 2.156 GB, free: 61.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/5.929, allocations: 0.968 MB / 2.157 GB, free: 61.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/5.929, allocations: 7 kB / 2.157 GB, free: 61.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/5.929, allocations: 3.469 kB / 2.157 GB, free: 61.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.567e-06/5.929, allocations: 4.219 kB / 2.157 GB, free: 61.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/5.932, allocations: 2.161 MB / 2.159 GB, free: 61.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/5.932, allocations: 0 / 2.159 GB, free: 61.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/5.933, allocations: 137.4 kB / 2.159 GB, free: 61.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/5.933, allocations: 7.891 kB / 2.159 GB, free: 61.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/5.933, allocations: 12.48 kB / 2.16 GB, free: 61.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/5.933, allocations: 9.125 kB / 2.16 GB, free: 61.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/5.933, allocations: 2.344 kB / 2.16 GB, free: 61.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/5.934, allocations: 1.059 MB / 2.161 GB, free: 60.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/5.934, allocations: 351.8 kB / 2.161 GB, free: 60.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/5.935, allocations: 7.828 kB / 2.161 GB, free: 60.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009529/5.936, allocations: 101.6 kB / 2.161 GB, free: 60.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/5.936, allocations: 51.97 kB / 2.161 GB, free: 60.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/5.936, allocations: 25.36 kB / 2.161 GB, free: 60.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001089/5.937, allocations: 0.9623 MB / 2.162 GB, free: 60.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/5.937, allocations: 1.188 kB / 2.162 GB, free: 60.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002452/5.939, allocations: 0.9742 MB / 2.163 GB, free: 60.39 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.003241/5.942, allocations: 2.884 MB / 2.166 GB, free: 58.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002124/5.945, allocations: 1.503 MB / 2.167 GB, free: 58.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/5.945, allocations: 0 / 2.167 GB, free: 58.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000466/5.945, allocations: 365.6 kB / 2.168 GB, free: 58.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004739/5.95, allocations: 0.9068 MB / 2.168 GB, free: 58.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/5.955, allocations: 2.474 MB / 2.171 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/5.956, allocations: 1.455 MB / 2.172 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002131/5.958, allocations: 473.4 kB / 2.173 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008165/5.959, allocations: 0.7915 MB / 2.174 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of SimCode: time 1.243e-06/5.959, allocations: 0 / 2.174 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08545/6.044, allocations: 53.35 MB / 2.226 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/6.044, allocations: 188.4 kB / 2.226 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.038/10.08, allocations: 3.234 kB / 2.226 GB, free: 55.01 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)