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.007187/0.007187, allocations: 171.9 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7493/0.7493, allocations: 135.2 MB / 151 MB, free: 13.77 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.362/1.362, allocations: 223.1 MB / 406.8 MB, free: 3.215 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.000901/0.0009009, allocations: 92.12 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003188, allocations: 15.98 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.348, allocations: 82.29 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6557/1.004, allocations: 391.2 MB / 1.032 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/1.004, allocations: 101.6 kB / 1.032 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.129/5.133, allocations: 1.126 GB / 2.158 GB, free: 62.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/5.133, allocations: 3.281 kB / 2.158 GB, free: 62.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003057/5.133, allocations: 70.3 kB / 2.158 GB, free: 62.79 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.008811/5.142, allocations: 2.74 MB / 2.16 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.79e-05/5.142, allocations: 10.94 kB / 2.16 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005627/5.143, allocations: 175.2 kB / 2.161 GB, free: 61.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007854/5.143, allocations: 266 kB / 2.161 GB, free: 61.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/5.148, allocations: 1.624 MB / 2.162 GB, free: 61.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.619e-05/5.148, allocations: 115.9 kB / 2.162 GB, free: 61.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/5.148, allocations: 149.9 kB / 2.163 GB, free: 61.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/5.15, allocations: 1.154 MB / 2.164 GB, free: 61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/5.15, allocations: 0 / 2.164 GB, free: 61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/5.15, allocations: 46.41 kB / 2.164 GB, free: 61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/5.15, allocations: 28.03 kB / 2.164 GB, free: 61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/5.152, allocations: 1.012 MB / 2.165 GB, free: 60.98 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01072/5.163, allocations: 6.367 MB / 2.171 GB, free: 58.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009072/5.163, allocations: 0.595 MB / 2.172 GB, free: 58.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/5.164, allocations: 0.5172 MB / 2.172 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/5.164, allocations: 37.69 kB / 2.172 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002592/5.167, allocations: 473.3 kB / 2.173 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 7.164e-06/5.167, allocations: 0 / 2.173 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.002072/5.169, allocations: 1.143 MB / 2.174 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/5.169, allocations: 58.19 kB / 2.174 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/5.171, allocations: 1.64 MB / 2.175 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/5.171, allocations: 48.33 kB / 2.175 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008195/5.172, allocations: 0.9264 MB / 2.176 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/5.172, allocations: 206.4 kB / 2.177 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/5.172, allocations: 24.22 kB / 2.177 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001227/5.173, allocations: 357.7 kB / 2.177 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008517/5.173, allocations: 410.1 kB / 2.177 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/5.174, allocations: 0.7507 MB / 2.178 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008586/5.175, allocations: 0.5065 MB / 2.179 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/5.175, allocations: 0 / 2.179 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002726/5.178, allocations: 1.345 MB / 2.18 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000445/5.179, allocations: 0.932 MB / 2.181 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/5.179, allocations: 5.344 kB / 2.181 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.554e-05/5.179, allocations: 7.281 kB / 2.181 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/5.18, allocations: 280 kB / 2.181 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/5.18, allocations: 12.91 kB / 2.181 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/5.183, allocations: 164.9 kB / 2.181 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/5.183, allocations: 64.44 kB / 2.181 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/5.183, allocations: 3.875 kB / 2.181 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001974/5.185, allocations: 1.118 MB / 2.182 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/5.185, allocations: 3.469 kB / 2.182 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/5.185, allocations: 7.031 kB / 2.182 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/5.186, allocations: 280.8 kB / 2.183 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/5.186, allocations: 10.81 kB / 2.183 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/5.189, allocations: 163.2 kB / 2.183 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/5.189, allocations: 60.91 kB / 2.183 GB, free: 54.93 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 () * Number of clocked 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.001352/5.19, allocations: 443.3 kB / 2.183 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/5.191, allocations: 203.5 kB / 2.183 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/5.193, allocations: 1.082 MB / 2.185 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/5.193, allocations: 14.05 kB / 2.185 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/5.193, allocations: 4.75 kB / 2.185 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/5.193, allocations: 3.234 kB / 2.185 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004371/5.197, allocations: 2.394 MB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/5.197, allocations: 0 / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/5.198, allocations: 136 kB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/5.198, allocations: 3.75 kB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/5.198, allocations: 21.02 kB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/5.198, allocations: 6.719 kB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/5.198, allocations: 6.25 kB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/5.199, allocations: 1.176 MB / 2.188 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000862/5.2, allocations: 377.5 kB / 2.189 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/5.201, allocations: 14.38 kB / 2.189 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/5.202, allocations: 112.3 kB / 2.189 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/5.202, allocations: 55.62 kB / 2.189 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/5.202, allocations: 27.39 kB / 2.189 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001625/5.203, allocations: 1.245 MB / 2.19 GB, free: 53.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-07/5.203, allocations: 1.688 kB / 2.19 GB, free: 53.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002982/5.206, allocations: 0.9828 MB / 2.191 GB, free: 53.21 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 () * Number of clocked 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.003295/5.21, allocations: 2.962 MB / 2.194 GB, free: 51.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002823/5.213, allocations: 1.578 MB / 2.195 GB, free: 51.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/5.213, allocations: 0 / 2.195 GB, free: 51.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005784/5.213, allocations: 402.7 kB / 2.196 GB, free: 51.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005927/5.219, allocations: 1.127 MB / 2.197 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/5.228, allocations: 5.892 MB / 2.203 GB, free: 47.92 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009144/5.229, allocations: 1.452 MB / 2.204 GB, free: 47.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002715/5.231, allocations: 393.1 kB / 2.204 GB, free: 47.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/5.233, allocations: 0.8195 MB / 2.205 GB, free: 47.17 MB / 0.7136 GB Notification: Performance of SimCode: time 2.194e-06/5.233, allocations: 0.8438 kB / 2.205 GB, free: 47.17 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/5.346, allocations: 62.66 MB / 2.266 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/5.346, allocations: 244.6 kB / 2.267 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.931/10.28, allocations: 0 / 2.267 GB, free: 43.69 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)