Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_dev_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.0072/0.0072, allocations: 107.6 kB / 15.74 MB, free: 5.988 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.001674/0.001674, allocations: 195.9 kB / 16.68 MB, free: 5.914 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9803/0.9803, allocations: 135.1 MB / 425.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.5851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4971, allocations: 80.92 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1202/0.6174, allocations: 112.6 MB / 0.7742 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03097/0.6484, allocations: 20.22 MB / 0.7939 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004855/0.6533, allocations: 111.3 kB / 0.794 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004498/0.6579, allocations: 1.277 MB / 0.7953 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.6706, allocations: 3.682 MB / 0.7989 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009385/0.68, allocations: 3.108 MB / 0.8019 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.6911, allocations: 7.21 MB / 0.8089 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004492/0.6956, allocations: 2.568 MB / 0.8115 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007394/0.703, allocations: 2.894 MB / 0.8143 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004348/0.7074, allocations: 2.12 MB / 0.8163 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.7085, allocations: 259.9 kB / 0.8166 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005429/0.714, allocations: 1.646 MB / 0.8182 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001429/0.7154, allocations: 0.6851 MB / 0.8189 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004469/0.7199, allocations: 1.516 MB / 0.8204 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009383/0.7293, allocations: 4.393 MB / 0.8246 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.7294, allocations: 0 / 0.8246 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7294, allocations: 4 kB / 0.8246 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001702/0.7296, allocations: 0 / 0.8246 GB, free: 12.72 MB / 0.6544 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.008076/0.7377, allocations: 3.233 MB / 0.8278 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.7377, allocations: 8.031 kB / 0.8278 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004984/0.7382, allocations: 227.5 kB / 0.828 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.7395, allocations: 320.2 kB / 0.8283 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005406/0.7449, allocations: 2.194 MB / 0.8305 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.7451, allocations: 123 kB / 0.8306 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004987/0.7456, allocations: 172 kB / 0.8308 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003695/0.7493, allocations: 1.612 MB / 0.8323 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/0.7493, allocations: 7.938 kB / 0.8323 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.7495, allocations: 60 kB / 0.8324 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/0.7496, allocations: 47.98 kB / 0.8324 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.7521, allocations: 1.143 MB / 0.8336 GB, free: 3.367 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.01303/0.7652, allocations: 7.916 MB / 0.8413 GB, free: 10.94 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009206/0.7661, allocations: 473.9 kB / 0.8417 GB, free: 10.47 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/0.7667, allocations: 327 kB / 0.8421 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007438/0.7675, allocations: 0.7524 MB / 0.8428 GB, free: 9.234 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.7675, allocations: 51.12 kB / 0.8428 GB, free: 9.176 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.956e-06/0.7675, allocations: 0 / 0.8428 GB, free: 9.176 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002259/0.7698, allocations: 0.988 MB / 0.8438 GB, free: 8.18 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.7699, allocations: 55.97 kB / 0.8439 GB, free: 8.113 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/0.7738, allocations: 2.332 MB / 0.8461 GB, free: 5.77 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000184/0.774, allocations: 45.7 kB / 0.8462 GB, free: 5.719 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.7751, allocations: 1.161 MB / 0.8473 GB, free: 4.547 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.7753, allocations: 209 kB / 0.8475 GB, free: 4.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/0.7758, allocations: 258.5 kB / 0.8478 GB, free: 4.078 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7759, allocations: 353.9 kB / 0.8481 GB, free: 3.727 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/0.7766, allocations: 361.9 kB / 0.8484 GB, free: 3.371 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.7777, allocations: 0.7424 MB / 0.8492 GB, free: 2.473 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.7792, allocations: 0.9824 MB / 0.8501 GB, free: 1.379 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.7793, allocations: 4 kB / 0.8501 GB, free: 1.375 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002613/0.7819, allocations: 1.291 MB / 0.8514 GB, free: 76 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.7819, allocations: 8 kB / 0.8514 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.782, allocations: 8.75 kB / 0.8514 GB, free: 60 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.782, allocations: 16 kB / 0.8514 GB, free: 44 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.783, allocations: 251.6 kB / 0.8517 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-05/0.7831, allocations: 27.91 kB / 0.8517 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.7848, allocations: 166.3 kB / 0.8518 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.7849, allocations: 55.92 kB / 0.8519 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001432/0.7864, allocations: 0.7641 MB / 0.8526 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009902/0.7874, allocations: 0.7386 MB / 0.8534 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001387/0.7888, allocations: 0.9563 MB / 0.8543 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.978e-06/0.7888, allocations: 4 kB / 0.8543 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002474/0.7913, allocations: 1.258 MB / 0.8555 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.7913, allocations: 8.156 kB / 0.8555 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.7913, allocations: 12 kB / 0.8555 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.7913, allocations: 12 kB / 0.8556 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008985/0.7922, allocations: 251.6 kB / 0.8558 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.7923, allocations: 23.92 kB / 0.8558 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.7938, allocations: 127.2 kB / 0.8559 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.754e-05/0.794, allocations: 47.98 kB / 0.856 GB, free: 11.07 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.0002959/0.7943, allocations: 251.9 kB / 0.8562 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005022/0.7948, allocations: 237 kB / 0.8565 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.7967, allocations: 0.8818 MB / 0.8573 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.7967, allocations: 8 kB / 0.8573 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7967, allocations: 0 / 0.8573 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/0.7978, allocations: 0.6891 MB / 0.858 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/0.8027, allocations: 2.586 MB / 0.8605 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.8027, allocations: 0 / 0.8605 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.8033, allocations: 127.9 kB / 0.8606 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.8033, allocations: 0 / 0.8606 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.8034, allocations: 19.98 kB / 0.8607 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.8034, allocations: 7.938 kB / 0.8607 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8034, allocations: 0 / 0.8607 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.8056, allocations: 1.313 MB / 0.862 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009948/0.8066, allocations: 418 kB / 0.8624 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/0.807, allocations: 12 kB / 0.8624 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.8081, allocations: 55.78 kB / 0.8624 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.8082, allocations: 40.45 kB / 0.8625 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/0.8083, allocations: 35.97 kB / 0.8625 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002398/0.8107, allocations: 1.569 MB / 0.864 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8107, allocations: 0 / 0.864 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003422/0.8142, allocations: 1.115 MB / 0.8651 GB, free: 1.535 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.3207/1.135, allocations: 2.508 MB / 0.8676 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002887/1.138, allocations: 1.358 MB / 0.8689 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.138, allocations: 0.9062 kB / 0.8689 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005692/1.138, allocations: 326.9 kB / 0.8692 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006681/1.145, allocations: 1.377 MB / 0.8705 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/1.168, allocations: 14.86 MB / 0.8851 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.169, allocations: 1.595 MB / 0.8866 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002184/1.172, allocations: 0.4891 MB / 0.8871 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.173, allocations: 0.9623 MB / 0.888 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/1.173, allocations: 0 / 0.888 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09557/1.268, allocations: 65.15 MB / 0.9517 GB, free: 120.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/14.03, allocations: 6.172 kB / 0.9517 GB, free: 120.4 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)