Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.00143/0.00143, allocations: 174.7 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.8205/0.8205, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.383/1.383, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.0008345/0.0008345, allocations: 99.02 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.216e-05, allocations: 3.719 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.192, allocations: 356.9 MB / 0.9891 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/1.193, allocations: 91.75 kB / 0.9892 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4749/1.667, allocations: 240.7 MB / 1.224 GB, free: 21.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.513e-06/1.667, allocations: 0 / 1.224 GB, free: 21.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.655e-05/1.668, allocations: 27.92 kB / 1.224 GB, free: 21.87 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002153/1.67, allocations: 0.9676 MB / 1.225 GB, free: 20.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.67, allocations: 8.031 kB / 1.225 GB, free: 20.85 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/1.67, allocations: 86.52 kB / 1.225 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/1.67, allocations: 86.92 kB / 1.225 GB, free: 20.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/1.671, allocations: 0.519 MB / 1.226 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/1.671, allocations: 37 kB / 1.226 GB, free: 20.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/1.672, allocations: 52 kB / 1.226 GB, free: 20.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007868/1.672, allocations: 0.5705 MB / 1.227 GB, free: 19.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/1.672, allocations: 0 / 1.227 GB, free: 19.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/1.672, allocations: 20 kB / 1.227 GB, free: 19.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/1.672, allocations: 12 kB / 1.227 GB, free: 19.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/1.673, allocations: 394.8 kB / 1.227 GB, free: 18.97 MB / 0.6823 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.003069/1.676, allocations: 3.212 MB / 1.23 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/1.677, allocations: 292.3 kB / 1.23 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/1.677, allocations: 188.5 kB / 1.231 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/1.677, allocations: 352.1 kB / 1.231 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/1.677, allocations: 38.56 kB / 1.231 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=38): time 2.104e-06/1.677, allocations: 0 / 1.231 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.0008233/1.678, allocations: 417.4 kB / 1.231 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/1.678, allocations: 55.41 kB / 1.231 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/1.679, allocations: 0.5035 MB / 1.232 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/1.679, allocations: 37.7 kB / 1.232 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/1.679, allocations: 328.4 kB / 1.232 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/1.679, allocations: 142 kB / 1.232 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/1.679, allocations: 19.94 kB / 1.232 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/1.679, allocations: 374.7 kB / 1.233 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/1.679, allocations: 161.5 kB / 1.233 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/1.68, allocations: 337.7 kB / 1.233 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/1.68, allocations: 217.5 kB / 1.233 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.68, allocations: 0 / 1.233 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008881/1.681, allocations: 0.6053 MB / 1.234 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003128/1.681, allocations: 1.752 MB / 1.236 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.681, allocations: 7.984 kB / 1.236 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/1.682, allocations: 136.8 kB / 1.236 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/1.682, allocations: 159.8 kB / 1.236 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004557/1.683, allocations: 0.6147 MB / 1.237 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006963/1.684, allocations: 103.4 kB / 1.237 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/1.684, allocations: 31.98 kB / 1.237 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/1.684, allocations: 4 kB / 1.237 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000754/1.684, allocations: 0.5136 MB / 1.237 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/1.684, allocations: 4 kB / 1.237 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/1.684, allocations: 12.52 kB / 1.237 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/1.685, allocations: 167.7 kB / 1.237 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/1.685, allocations: 8 kB / 1.237 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/1.686, allocations: 99.47 kB / 1.237 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/1.686, allocations: 31.98 kB / 1.238 GB, free: 7.523 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001338/1.686, allocations: 132.9 kB / 1.238 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/1.686, allocations: 67.16 kB / 1.238 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/1.687, allocations: 0.5692 MB / 1.238 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/1.687, allocations: 11.95 kB / 1.238 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.687, allocations: 0 / 1.238 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.687, allocations: 3.984 kB / 1.238 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/1.689, allocations: 1.273 MB / 1.24 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.689, allocations: 3.938 kB / 1.24 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/1.689, allocations: 91.88 kB / 1.24 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000407/1.69, allocations: 120.9 kB / 1.24 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/1.69, allocations: 19.98 kB / 1.24 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004097/1.69, allocations: 0.6226 MB / 1.24 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.69, allocations: 0 / 1.24 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/1.691, allocations: 0.6549 MB / 1.241 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/1.691, allocations: 200.1 kB / 1.241 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.745e-05/1.691, allocations: 8 kB / 1.241 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/1.692, allocations: 63.88 kB / 1.241 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/1.692, allocations: 39.84 kB / 1.241 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/1.692, allocations: 19.98 kB / 1.241 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003737/1.692, allocations: 391.2 kB / 1.242 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.692, allocations: 0 / 1.242 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001206/1.694, allocations: 415.4 kB / 1.242 GB, free: 2.656 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001799/1.695, allocations: 1.709 MB / 1.244 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001276/1.697, allocations: 0.7716 MB / 1.245 GB, free: 136 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.697, allocations: 0 / 1.245 GB, free: 136 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.3455/2.042, allocations: 247.3 kB / 1.245 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/2.044, allocations: 250.7 kB / 1.245 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/2.047, allocations: 0.9375 MB / 1.246 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/2.047, allocations: 0.93 MB / 1.247 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009248/2.048, allocations: 172 kB / 1.247 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/2.049, allocations: 234.9 kB / 1.247 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/2.049, allocations: 1.062 kB / 1.247 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04691/2.095, allocations: 20.34 MB / 1.267 GB, free: 174 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/2.096, allocations: 235.4 kB / 1.267 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/4.894, allocations: 1.422 kB / 1.267 GB, free: 173.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)