Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.618/2.618, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.334/1.334, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005748/0.0005749, allocations: 8 kB / 0.5033 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.8946, allocations: 81.58 MB / 0.583 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.05216/0.9469, allocations: 25.04 MB / 0.6074 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02064/0.9676, allocations: 7.036 MB / 0.6143 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.9706, allocations: 27.59 kB / 0.6143 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.9738, allocations: 384.3 kB / 0.6147 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009956/0.9838, allocations: 1.435 MB / 0.6161 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006284/0.9901, allocations: 1.199 MB / 0.6173 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006963/0.9971, allocations: 2.109 MB / 0.6193 GB, free: 8.695 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003386/1, allocations: 1.092 MB / 0.6204 GB, free: 7.992 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006339/1.007, allocations: 1.296 MB / 0.6217 GB, free: 7.289 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006231/1.013, allocations: 1.294 MB / 0.6229 GB, free: 6.555 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001382/1.015, allocations: 64.19 kB / 0.623 GB, free: 6.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006143/1.021, allocations: 0.9054 MB / 0.6239 GB, free: 6.113 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001967/1.023, allocations: 325.8 kB / 0.6242 GB, free: 5.867 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001691/1.024, allocations: 247 kB / 0.6244 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006354/1.031, allocations: 1.545 MB / 0.6259 GB, free: 4.398 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/1.031, allocations: 4 kB / 0.6259 GB, free: 4.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.791e-06/1.031, allocations: 0 / 0.6259 GB, free: 4.395 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001061/1.031, allocations: 0 / 0.6259 GB, free: 4.395 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.005947/1.037, allocations: 1.344 MB / 0.6272 GB, free: 2.996 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.976e-05/1.037, allocations: 8.031 kB / 0.6272 GB, free: 2.988 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003319/1.038, allocations: 98.52 kB / 0.6273 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/1.039, allocations: 154.5 kB / 0.6275 GB, free: 2.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/1.043, allocations: 0.8604 MB / 0.6283 GB, free: 1.816 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/1.044, allocations: 81.31 kB / 0.6284 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000576/1.044, allocations: 116 kB / 0.6285 GB, free: 1.621 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/1.046, allocations: 0.6395 MB / 0.6291 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/1.046, allocations: 3.984 kB / 0.6291 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/1.047, allocations: 20 kB / 0.6292 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/1.047, allocations: 16 kB / 0.6292 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/1.048, allocations: 468.9 kB / 0.6296 GB, free: 464 kB / 462.1 MB 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.01076/1.059, allocations: 2.883 MB / 0.6324 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/1.06, allocations: 311.7 kB / 0.6327 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/1.061, allocations: 344.7 kB / 0.6331 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/1.061, allocations: 38.72 kB / 0.6331 GB, free: 12.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 4.468e-06/1.061, allocations: 0 / 0.6331 GB, free: 12.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.002767/1.064, allocations: 0.5461 MB / 0.6336 GB, free: 12.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.064, allocations: 55.41 kB / 0.6337 GB, free: 12.03 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/1.066, allocations: 0.8958 MB / 0.6346 GB, free: 11.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005799/1.067, allocations: 57.7 kB / 0.6346 GB, free: 11.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.068, allocations: 0.5421 MB / 0.6351 GB, free: 10.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/1.068, allocations: 118.4 kB / 0.6353 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/1.068, allocations: 12 kB / 0.6353 GB, free: 10.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/1.068, allocations: 330 kB / 0.6356 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007569/1.069, allocations: 181.1 kB / 0.6358 GB, free: 9.871 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/1.072, allocations: 1.132 MB / 0.6369 GB, free: 8.379 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/1.073, allocations: 314.8 kB / 0.6372 GB, free: 8.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.073, allocations: 0 / 0.6372 GB, free: 8.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002808/1.076, allocations: 0.6422 MB / 0.6378 GB, free: 7.422 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007783/1.076, allocations: 0.8059 MB / 0.6386 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/1.076, allocations: 8 kB / 0.6386 GB, free: 6.551 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.985e-05/1.076, allocations: 4 kB / 0.6386 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/1.079, allocations: 235.6 kB / 0.6388 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/1.082, allocations: 2.958 MB / 0.6417 GB, free: 3.242 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00728/1.089, allocations: 0.7457 MB / 0.6424 GB, free: 2.496 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003736/1.09, allocations: 31.98 kB / 0.6425 GB, free: 2.465 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/1.09, allocations: 4 kB / 0.6425 GB, free: 2.461 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002209/1.092, allocations: 0.4973 MB / 0.6429 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.092, allocations: 4 kB / 0.643 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.092, allocations: 4 kB / 0.643 GB, free: 1.953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/1.094, allocations: 163.8 kB / 0.6431 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.832e-05/1.094, allocations: 4 kB / 0.6431 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007219/1.101, allocations: 0.7378 MB / 0.6438 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/1.101, allocations: 27.98 kB / 0.6439 GB, free: 1.02 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001271/1.102, allocations: 333.9 kB / 0.6442 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/1.103, allocations: 94.78 kB / 0.6443 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/1.105, allocations: 0.5282 MB / 0.6448 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/1.105, allocations: 4 kB / 0.6448 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.105, allocations: 0 / 0.6448 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/1.105, allocations: 3.984 kB / 0.6448 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/1.11, allocations: 1.265 MB / 0.646 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.11, allocations: 4 kB / 0.646 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.111, allocations: 119.8 kB / 0.6461 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.676e-05/1.111, allocations: 8.125 kB / 0.6462 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/1.111, allocations: 11.98 kB / 0.6462 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/1.113, allocations: 2.946 MB / 0.649 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/1.113, allocations: 7.875 kB / 0.6491 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/1.115, allocations: 0.634 MB / 0.6497 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007381/1.116, allocations: 231.6 kB / 0.6499 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/1.116, allocations: 8 kB / 0.6499 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.117, allocations: 59.88 kB / 0.65 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.118, allocations: 31.91 kB / 0.65 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/1.118, allocations: 15.98 kB / 0.65 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001594/1.119, allocations: 0.6006 MB / 0.6506 GB, free: 9.855 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.6e-07/1.119, allocations: 0 / 0.6506 GB, free: 9.855 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003375/1.123, allocations: 0.5303 MB / 0.6511 GB, free: 9.324 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003612/1.126, allocations: 1.655 MB / 0.6527 GB, free: 7.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005416/1.132, allocations: 0.8507 MB / 0.6536 GB, free: 6.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/1.132, allocations: 0 / 0.6536 GB, free: 6.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/1.133, allocations: 236.2 kB / 0.6538 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005479/1.139, allocations: 476.6 kB / 0.6542 GB, free: 6.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00949/1.148, allocations: 3.55 MB / 0.6577 GB, free: 2.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.15, allocations: 1.05 MB / 0.6587 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002544/1.152, allocations: 211 kB / 0.6589 GB, free: 1.148 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008648/1.153, allocations: 363.3 kB / 0.6593 GB, free: 0.793 MB / 494.1 MB Notification: Performance of SimCode: time 1.283e-06/1.153, allocations: 0 / 0.6593 GB, free: 0.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/1.272, allocations: 31.67 MB / 0.6902 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004074/1.272, allocations: 242.4 kB / 0.6904 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.332/5.604, allocations: 4 kB / 0.6904 GB, free: 1.469 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: