Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.01117/0.01117, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002196/0.002196, allocations: 195.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7142/0.7142, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.5809 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3871, allocations: 80.21 MB / 0.6592 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09715/0.4843, allocations: 112.6 MB / 0.7692 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0262/0.5106, allocations: 20.22 MB / 0.7889 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004261/0.5149, allocations: 107.3 kB / 0.789 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.5186, allocations: 1.281 MB / 0.7903 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.5287, allocations: 3.671 MB / 0.7939 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007337/0.5361, allocations: 3.114 MB / 0.7969 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009101/0.5452, allocations: 7.201 MB / 0.804 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004162/0.5494, allocations: 2.591 MB / 0.8065 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006818/0.5562, allocations: 2.878 MB / 0.8093 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003808/0.56, allocations: 2.135 MB / 0.8114 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008579/0.5609, allocations: 255.9 kB / 0.8116 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004036/0.5649, allocations: 1.646 MB / 0.8132 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.566, allocations: 0.6928 MB / 0.8139 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002733/0.5687, allocations: 1.508 MB / 0.8154 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006672/0.5754, allocations: 4.401 MB / 0.8197 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5755, allocations: 0 / 0.8197 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5755, allocations: 0 / 0.8197 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001392/0.5756, allocations: 0 / 0.8197 GB, free: 1.426 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006564/0.5822, allocations: 3.23 MB / 0.8228 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5822, allocations: 8.031 kB / 0.8228 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004381/0.5827, allocations: 219.5 kB / 0.823 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5837, allocations: 324.2 kB / 0.8234 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00454/0.5883, allocations: 2.198 MB / 0.8255 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.5884, allocations: 127 kB / 0.8256 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003641/0.5888, allocations: 172 kB / 0.8258 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/0.5917, allocations: 1.612 MB / 0.8274 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.5918, allocations: 4 kB / 0.8274 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.5919, allocations: 68 kB / 0.8274 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.592, allocations: 36 kB / 0.8275 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.5941, allocations: 1.143 MB / 0.8286 GB, free: 8.078 MB / 0.6544 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.01112/0.6053, allocations: 7.912 MB / 0.8363 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/0.606, allocations: 481.9 kB / 0.8368 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.6065, allocations: 323 kB / 0.8371 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/0.6071, allocations: 0.7524 MB / 0.8378 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.6071, allocations: 39.12 kB / 0.8378 GB, free: 13.89 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.545e-06/0.6071, allocations: 0 / 0.8378 GB, free: 13.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001949/0.6091, allocations: 0.9919 MB / 0.8388 GB, free: 12.89 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.6092, allocations: 63.97 kB / 0.8389 GB, free: 12.82 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/0.6124, allocations: 2.332 MB / 0.8412 GB, free: 10.48 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.6126, allocations: 45.7 kB / 0.8412 GB, free: 10.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009425/0.6135, allocations: 1.161 MB / 0.8423 GB, free: 9.254 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.6137, allocations: 205 kB / 0.8425 GB, free: 9.051 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.6141, allocations: 266.6 kB / 0.8428 GB, free: 8.781 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6143, allocations: 349.9 kB / 0.8431 GB, free: 8.434 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/0.6149, allocations: 357.9 kB / 0.8435 GB, free: 8.082 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008894/0.6158, allocations: 0.7502 MB / 0.8442 GB, free: 7.172 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.6171, allocations: 0.9785 MB / 0.8451 GB, free: 6.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.6171, allocations: 8 kB / 0.8452 GB, free: 6.082 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002232/0.6194, allocations: 1.287 MB / 0.8464 GB, free: 4.781 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6194, allocations: 8 kB / 0.8464 GB, free: 4.773 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.6194, allocations: 11.98 kB / 0.8464 GB, free: 4.762 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.6194, allocations: 12 kB / 0.8464 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/0.6204, allocations: 255.6 kB / 0.8467 GB, free: 4.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.727e-05/0.6204, allocations: 15.94 kB / 0.8467 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.6218, allocations: 174.7 kB / 0.8469 GB, free: 4.312 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.811e-05/0.6219, allocations: 55.98 kB / 0.8469 GB, free: 4.258 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001132/0.6231, allocations: 0.7641 MB / 0.8477 GB, free: 3.488 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008266/0.6239, allocations: 0.7386 MB / 0.8484 GB, free: 2.59 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001217/0.6251, allocations: 0.9525 MB / 0.8493 GB, free: 1.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/0.6252, allocations: 8 kB / 0.8493 GB, free: 1.512 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002128/0.6273, allocations: 1.254 MB / 0.8505 GB, free: 256 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6273, allocations: 8 kB / 0.8506 GB, free: 248 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6273, allocations: 8 kB / 0.8506 GB, free: 240 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.6274, allocations: 16.78 kB / 0.8506 GB, free: 224 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008664/0.6282, allocations: 247.6 kB / 0.8508 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.54e-05/0.6283, allocations: 23.94 kB / 0.8508 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.6298, allocations: 127.1 kB / 0.851 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.52e-05/0.6299, allocations: 48 kB / 0.851 GB, free: 15.78 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003011/0.6302, allocations: 255.9 kB / 0.8513 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/0.6307, allocations: 237 kB / 0.8515 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.6323, allocations: 0.877 MB / 0.8523 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.6323, allocations: 15.98 kB / 0.8523 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.6323, allocations: 0 / 0.8523 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009495/0.6333, allocations: 0.6814 MB / 0.853 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/0.6372, allocations: 2.582 MB / 0.8555 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6372, allocations: 8.094 kB / 0.8555 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.6378, allocations: 127.9 kB / 0.8557 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.6378, allocations: 4 kB / 0.8557 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.6378, allocations: 12 kB / 0.8557 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.6378, allocations: 11.92 kB / 0.8557 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.6378, allocations: 11.94 kB / 0.8557 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.6397, allocations: 1.306 MB / 0.857 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007311/0.6405, allocations: 417.9 kB / 0.8574 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003554/0.6408, allocations: 15.98 kB / 0.8574 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.6418, allocations: 43.89 kB / 0.8574 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.6419, allocations: 48.5 kB / 0.8575 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-05/0.642, allocations: 35.91 kB / 0.8575 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002196/0.6442, allocations: 1.562 MB / 0.859 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.795e-06/0.6442, allocations: 0 / 0.859 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002729/0.647, allocations: 1.118 MB / 0.8601 GB, free: 6.254 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003634/0.6506, allocations: 2.51 MB / 0.8626 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002325/0.6529, allocations: 1.362 MB / 0.8639 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.653, allocations: 0 / 0.8639 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004784/0.6534, allocations: 323 kB / 0.8642 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00525/0.6587, allocations: 1.386 MB / 0.8656 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3176/0.9763, allocations: 14.85 MB / 0.8801 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009747/0.9773, allocations: 1.591 MB / 0.8816 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00187/0.9792, allocations: 0.4897 MB / 0.8821 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009499/0.9802, allocations: 0.9601 MB / 0.883 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.422e-06/0.9802, allocations: 0 / 0.883 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09295/1.073, allocations: 65.15 MB / 0.9467 GB, free: 129.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.65, allocations: 9.766 kB / 0.9467 GB, free: 129.9 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)