Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_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.001029/0.001029, allocations: 173.9 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.712/0.712, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.36/1.36, allocations: 221.3 MB / 400.4 MB, free: 5.797 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.0009115/0.0009113, allocations: 113.9 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.212e-05, allocations: 2.688 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.142, allocations: 82.31 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.159, allocations: 391.1 MB / 1.022 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/1.159, allocations: 99.88 kB / 1.023 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.655/4.815, allocations: 1.123 GB / 2.145 GB, free: 61.22 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.342e-06/4.815, allocations: 0 / 2.145 GB, free: 61.22 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003355/4.815, allocations: 69.12 kB / 2.145 GB, free: 61.21 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.005557/4.821, allocations: 2.328 MB / 2.147 GB, free: 60.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/4.821, allocations: 9.719 kB / 2.147 GB, free: 60.17 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004369/4.821, allocations: 172.6 kB / 2.148 GB, free: 60.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/4.822, allocations: 273 kB / 2.148 GB, free: 59.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00351/4.825, allocations: 1.59 MB / 2.149 GB, free: 59.51 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/4.826, allocations: 109.3 kB / 2.15 GB, free: 59.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/4.826, allocations: 146.8 kB / 2.15 GB, free: 59.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/4.828, allocations: 1.115 MB / 2.151 GB, free: 59.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/4.828, allocations: 2.062 kB / 2.151 GB, free: 59.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/4.828, allocations: 45.84 kB / 2.151 GB, free: 59.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/4.828, allocations: 33.44 kB / 2.151 GB, free: 59.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/4.829, allocations: 0.9505 MB / 2.152 GB, free: 59.41 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.008736/4.838, allocations: 6.382 MB / 2.158 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/4.839, allocations: 0.5652 MB / 2.159 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/4.839, allocations: 377.1 kB / 2.159 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/4.839, allocations: 0.5114 MB / 2.159 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/4.84, allocations: 43.47 kB / 2.159 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001895/4.841, allocations: 473.2 kB / 2.16 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 4.368e-06/4.841, allocations: 0 / 2.16 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.001234/4.843, allocations: 0.8257 MB / 2.161 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/4.843, allocations: 61.59 kB / 2.161 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/4.844, allocations: 1.623 MB / 2.162 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.702e-05/4.845, allocations: 48.92 kB / 2.162 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/4.845, allocations: 0.9388 MB / 2.163 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/4.845, allocations: 203.3 kB / 2.164 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/4.845, allocations: 23.38 kB / 2.164 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/4.845, allocations: 350.7 kB / 2.164 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/4.846, allocations: 391.9 kB / 2.164 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007036/4.847, allocations: 0.7151 MB / 2.165 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/4.847, allocations: 492.9 kB / 2.165 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/4.847, allocations: 1.625 kB / 2.165 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001704/4.849, allocations: 1.288 MB / 2.167 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/4.849, allocations: 0.9377 MB / 2.168 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/4.849, allocations: 0 / 2.168 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/4.849, allocations: 10.59 kB / 2.168 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/4.85, allocations: 282.4 kB / 2.168 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/4.85, allocations: 7.562 kB / 2.168 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/4.852, allocations: 156.9 kB / 2.168 GB, free: 53.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/4.852, allocations: 62.39 kB / 2.168 GB, free: 53.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/4.852, allocations: 8.281 kB / 2.168 GB, free: 53.37 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001441/4.854, allocations: 1.062 MB / 2.169 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/4.854, allocations: 2.812 kB / 2.169 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/4.854, allocations: 11.55 kB / 2.169 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/4.855, allocations: 278.2 kB / 2.169 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/4.855, allocations: 12.08 kB / 2.169 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/4.856, allocations: 161 kB / 2.17 GB, free: 53.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-05/4.856, allocations: 64 kB / 2.17 GB, free: 53.32 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.0002001/4.857, allocations: 169.8 kB / 2.17 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/4.857, allocations: 202.5 kB / 2.17 GB, free: 53.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/4.858, allocations: 1.037 MB / 2.171 GB, free: 53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/4.858, allocations: 9.828 kB / 2.171 GB, free: 53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/4.858, allocations: 1.625 kB / 2.171 GB, free: 53 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/4.858, allocations: 6.188 kB / 2.171 GB, free: 53 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/4.861, allocations: 2.358 MB / 2.173 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/4.861, allocations: 3.75 kB / 2.173 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/4.862, allocations: 136.4 kB / 2.173 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/4.862, allocations: 10.16 kB / 2.173 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/4.862, allocations: 22.34 kB / 2.173 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/4.862, allocations: 9 kB / 2.173 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/4.862, allocations: 0 / 2.173 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/4.863, allocations: 1.13 MB / 2.175 GB, free: 52.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005373/4.864, allocations: 380.4 kB / 2.175 GB, free: 51.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/4.864, allocations: 18.25 kB / 2.175 GB, free: 51.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009758/4.865, allocations: 107.1 kB / 2.175 GB, free: 51.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/4.865, allocations: 52 kB / 2.175 GB, free: 51.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/4.865, allocations: 27.27 kB / 2.175 GB, free: 51.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001341/4.866, allocations: 1.22 MB / 2.176 GB, free: 51.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/4.866, allocations: 0.5625 kB / 2.176 GB, free: 51.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002209/4.868, allocations: 0.9847 MB / 2.177 GB, free: 51.66 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.002522/4.871, allocations: 2.918 MB / 2.18 GB, free: 50.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002068/4.873, allocations: 1.574 MB / 2.182 GB, free: 50.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/4.873, allocations: 3.281 kB / 2.182 GB, free: 50.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/4.874, allocations: 376.9 kB / 2.182 GB, free: 50.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005114/4.879, allocations: 1.13 MB / 2.183 GB, free: 50.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/4.883, allocations: 2.59 MB / 2.186 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/4.884, allocations: 1.455 MB / 2.187 GB, free: 48.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00206/4.886, allocations: 0.5094 MB / 2.188 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/4.886, allocations: 0.7865 MB / 2.188 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/4.886, allocations: 4.75 kB / 2.188 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.509/11.4, allocations: 67.77 MB / 2.255 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/11.4, allocations: 202.2 kB / 2.255 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.593/15.99, allocations: 0 / 2.255 GB, free: 42.63 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)