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.007064/0.007064, allocations: 101 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.001768/0.001768, allocations: 188.3 kB / 16.67 MB, free: 5.969 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7745/0.7745, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 72.36 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.175, allocations: 80.21 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1139/0.289, allocations: 112.6 MB / 0.7692 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03019/0.3193, allocations: 20.22 MB / 0.789 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004572/0.3239, allocations: 107.3 kB / 0.7891 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004589/0.3285, allocations: 1.277 MB / 0.7903 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01172/0.3403, allocations: 3.677 MB / 0.7939 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008052/0.3484, allocations: 3.114 MB / 0.7969 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.359, allocations: 7.198 MB / 0.804 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003996/0.3631, allocations: 2.58 MB / 0.8065 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006775/0.3699, allocations: 2.815 MB / 0.8092 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004214/0.3741, allocations: 2.135 MB / 0.8113 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006211/0.3747, allocations: 256 kB / 0.8116 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3912/0.7659, allocations: 1.637 MB / 0.8132 GB, free: 42.11 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001742/0.7677, allocations: 0.6875 MB / 0.8138 GB, free: 42.11 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002729/0.7705, allocations: 1.515 MB / 0.8153 GB, free: 42.11 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008697/0.7792, allocations: 4.42 MB / 0.8196 GB, free: 41.72 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7792, allocations: 0 / 0.8196 GB, free: 41.72 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7792, allocations: 0.5312 kB / 0.8196 GB, free: 41.72 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001455/0.7794, allocations: 0.5 kB / 0.8196 GB, free: 41.72 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.007438/0.7868, allocations: 3.324 MB / 0.8229 GB, free: 40.15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.7869, allocations: 10.09 kB / 0.8229 GB, free: 40.15 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002755/0.7872, allocations: 220.1 kB / 0.8231 GB, free: 40.11 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009466/0.7881, allocations: 339.3 kB / 0.8234 GB, free: 39.93 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003807/0.7919, allocations: 2.215 MB / 0.8256 GB, free: 39.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/0.7921, allocations: 124.8 kB / 0.8257 GB, free: 39.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.7923, allocations: 166.6 kB / 0.8259 GB, free: 39.34 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.7949, allocations: 1.61 MB / 0.8274 GB, free: 39.14 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.7949, allocations: 9.547 kB / 0.8274 GB, free: 39.14 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.7951, allocations: 64 kB / 0.8275 GB, free: 39.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/0.7951, allocations: 39.58 kB / 0.8275 GB, free: 39.14 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.7971, allocations: 1.148 MB / 0.8287 GB, free: 39.12 MB / 0.6387 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.009761/0.8068, allocations: 7.935 MB / 0.8364 GB, free: 35.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/0.8076, allocations: 469.9 kB / 0.8369 GB, free: 35.43 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.8081, allocations: 329.1 kB / 0.8372 GB, free: 35.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/0.8085, allocations: 0.7493 MB / 0.8379 GB, free: 34.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.8086, allocations: 44.62 kB / 0.8379 GB, free: 34.53 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 3.266e-06/0.8086, allocations: 6.188 kB / 0.838 GB, free: 34.53 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.001991/0.8106, allocations: 1.004 MB / 0.8389 GB, free: 34.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.8106, allocations: 55.91 kB / 0.839 GB, free: 34.28 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002734/0.8134, allocations: 2.333 MB / 0.8413 GB, free: 34.04 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.8135, allocations: 47.8 kB / 0.8413 GB, free: 34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007513/0.8142, allocations: 1.172 MB / 0.8425 GB, free: 33.64 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.8145, allocations: 219.1 kB / 0.8427 GB, free: 33.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/0.8148, allocations: 258.1 kB / 0.8429 GB, free: 33.47 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.8149, allocations: 349.7 kB / 0.8432 GB, free: 33.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/0.8154, allocations: 362.3 kB / 0.8436 GB, free: 33.15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.8162, allocations: 0.7451 MB / 0.8443 GB, free: 32.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.8174, allocations: 0.9838 MB / 0.8453 GB, free: 32.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.8174, allocations: 3.469 kB / 0.8453 GB, free: 32.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00207/0.8195, allocations: 1.305 MB / 0.8466 GB, free: 32.24 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.8195, allocations: 12.56 kB / 0.8466 GB, free: 32.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.8195, allocations: 8.344 kB / 0.8466 GB, free: 32.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.8195, allocations: 13.34 kB / 0.8466 GB, free: 32.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.8204, allocations: 253.4 kB / 0.8468 GB, free: 32.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.8204, allocations: 18.84 kB / 0.8469 GB, free: 32.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.8221, allocations: 178.1 kB / 0.847 GB, free: 32.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/0.8222, allocations: 58.16 kB / 0.8471 GB, free: 32.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001231/0.8235, allocations: 0.7595 MB / 0.8478 GB, free: 32.06 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007248/0.8242, allocations: 0.7354 MB / 0.8485 GB, free: 31.62 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001069/0.8253, allocations: 0.9545 MB / 0.8495 GB, free: 31.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.588e-06/0.8253, allocations: 3.188 kB / 0.8495 GB, free: 31.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001911/0.8272, allocations: 1.27 MB / 0.8507 GB, free: 31.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.8272, allocations: 8.375 kB / 0.8507 GB, free: 31.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.8272, allocations: 10.81 kB / 0.8507 GB, free: 31.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8272, allocations: 15.34 kB / 0.8507 GB, free: 31.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.8281, allocations: 251.8 kB / 0.851 GB, free: 31.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.8281, allocations: 18.94 kB / 0.851 GB, free: 31.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.8297, allocations: 133 kB / 0.8511 GB, free: 31.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.8298, allocations: 51.25 kB / 0.8512 GB, free: 31.06 MB / 0.6387 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.000292/0.8301, allocations: 246.6 kB / 0.8514 GB, free: 30.88 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.8304, allocations: 252.1 kB / 0.8517 GB, free: 30.74 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.832, allocations: 0.8886 MB / 0.8525 GB, free: 30.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.832, allocations: 8.406 kB / 0.8525 GB, free: 30.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.832, allocations: 2.5 kB / 0.8525 GB, free: 30.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000842/0.8329, allocations: 0.6847 MB / 0.8532 GB, free: 30.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/0.8364, allocations: 2.586 MB / 0.8557 GB, free: 30.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.8365, allocations: 4.562 kB / 0.8557 GB, free: 30.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.8369, allocations: 128.6 kB / 0.8559 GB, free: 30.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.837, allocations: 5.094 kB / 0.8559 GB, free: 30.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.837, allocations: 13.66 kB / 0.8559 GB, free: 30.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.837, allocations: 5.234 kB / 0.8559 GB, free: 30.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.837, allocations: 2.156 kB / 0.8559 GB, free: 30.09 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.8387, allocations: 1.327 MB / 0.8572 GB, free: 29.76 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000711/0.8394, allocations: 429.3 kB / 0.8576 GB, free: 29.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/0.8397, allocations: 16.62 kB / 0.8576 GB, free: 29.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008913/0.8406, allocations: 44.14 kB / 0.8576 GB, free: 29.53 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.8407, allocations: 43.67 kB / 0.8577 GB, free: 29.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.955e-05/0.8407, allocations: 31.72 kB / 0.8577 GB, free: 29.53 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001872/0.8426, allocations: 1.573 MB / 0.8593 GB, free: 29.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8426, allocations: 0 / 0.8593 GB, free: 29.38 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002744/0.8454, allocations: 1.121 MB / 0.8603 GB, free: 29.21 MB / 0.6387 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.003938/0.8493, allocations: 2.53 MB / 0.8628 GB, free: 28.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002295/0.8516, allocations: 1.358 MB / 0.8641 GB, free: 28.25 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8516, allocations: 0 / 0.8641 GB, free: 28.25 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000458/0.8521, allocations: 327.9 kB / 0.8645 GB, free: 28.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005499/0.8576, allocations: 1.385 MB / 0.8658 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/0.8789, allocations: 14.94 MB / 0.8804 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.8801, allocations: 1.593 MB / 0.882 GB, free: 22.78 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002159/0.8823, allocations: 490.4 kB / 0.8824 GB, free: 22.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.8834, allocations: 0.97 MB / 0.8834 GB, free: 21.61 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/0.8834, allocations: 0 / 0.8834 GB, free: 21.61 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/0.9948, allocations: 64.15 MB / 0.946 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.19, allocations: 13.94 kB / 0.946 GB, free: 6.5 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)