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.0009904/0.0009904, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007101/0.007101, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8503/0.8503, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 12 kB / 0.5077 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 82.31 MB / 0.5881 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3184/0.4569, allocations: 110.1 MB / 0.6956 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02748/0.4844, allocations: 20.09 MB / 0.7152 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/0.488, allocations: 90.75 kB / 0.7153 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003217/0.4912, allocations: 1.039 MB / 0.7163 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008661/0.4999, allocations: 3.381 MB / 0.7196 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006616/0.5065, allocations: 2.861 MB / 0.7224 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01052/0.517, allocations: 9.517 MB / 0.7317 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.5202, allocations: 2.08 MB / 0.7338 GB, free: 4.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004498/0.5247, allocations: 2.317 MB / 0.736 GB, free: 3.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/0.5279, allocations: 2.045 MB / 0.738 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000397/0.5283, allocations: 90.34 kB / 0.7381 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.5322, allocations: 1.445 MB / 0.7395 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007626/0.533, allocations: 0.5093 MB / 0.74 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.5352, allocations: 1.334 MB / 0.7413 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.5399, allocations: 4.154 MB / 0.7454 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5399, allocations: 0 / 0.7454 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5399, allocations: 3.938 kB / 0.7454 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.378e-05/0.5399, allocations: 3.938 kB / 0.7454 GB, free: 11 MB / 0.5606 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.003884/0.5438, allocations: 2.686 MB / 0.748 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.5439, allocations: 12.03 kB / 0.748 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/0.5441, allocations: 219.5 kB / 0.7482 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005667/0.5447, allocations: 328.2 kB / 0.7485 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002974/0.5477, allocations: 2.154 MB / 0.7506 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-05/0.5478, allocations: 127 kB / 0.7508 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.548, allocations: 167.9 kB / 0.7509 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.5504, allocations: 1.62 MB / 0.7525 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.5505, allocations: 0 / 0.7525 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.5506, allocations: 67.94 kB / 0.7526 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.5507, allocations: 39.94 kB / 0.7526 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.5526, allocations: 1.163 MB / 0.7537 GB, free: 2.227 MB / 0.5606 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.008689/0.5613, allocations: 7.904 MB / 0.7615 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.562, allocations: 478 kB / 0.7619 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/0.5625, allocations: 335.6 kB / 0.7622 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/0.5631, allocations: 0.7562 MB / 0.763 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.5631, allocations: 39.12 kB / 0.763 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 1.633e-06/0.5631, allocations: 0 / 0.763 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001619/0.5647, allocations: 1.008 MB / 0.764 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.5648, allocations: 55.97 kB / 0.7641 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002601/0.5674, allocations: 2.312 MB / 0.7663 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.094e-05/0.5675, allocations: 53.7 kB / 0.7664 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008636/0.5684, allocations: 1.142 MB / 0.7675 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.5685, allocations: 220.9 kB / 0.7677 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.5687, allocations: 101.7 kB / 0.7678 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5688, allocations: 349.9 kB / 0.7681 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/0.5694, allocations: 358.4 kB / 0.7685 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008702/0.5703, allocations: 0.7502 MB / 0.7692 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.5716, allocations: 0.998 MB / 0.7702 GB, free: 396 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5716, allocations: 0 / 0.7702 GB, free: 396 kB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001918/0.5735, allocations: 1.303 MB / 0.7714 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.5737, allocations: 347.1 kB / 0.7718 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.5738, allocations: 8 kB / 0.7718 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.5738, allocations: 19.94 kB / 0.7718 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008957/0.5747, allocations: 251.6 kB / 0.772 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.5747, allocations: 23.92 kB / 0.7721 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.5762, allocations: 254.1 kB / 0.7723 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.209e-05/0.5763, allocations: 55.92 kB / 0.7724 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-06/0.5763, allocations: 4 kB / 0.7724 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001556/0.5778, allocations: 1.039 MB / 0.7734 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5778, allocations: 8 kB / 0.7734 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.5779, allocations: 16 kB / 0.7734 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008335/0.5787, allocations: 247.6 kB / 0.7736 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.5787, allocations: 19.94 kB / 0.7736 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.58, allocations: 230.6 kB / 0.7739 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.5801, allocations: 47.98 kB / 0.7739 GB, free: 12.41 MB / 0.5919 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.0007994/0.5809, allocations: 0.5749 MB / 0.7745 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.5812, allocations: 237 kB / 0.7747 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.5827, allocations: 0.9045 MB / 0.7756 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.5827, allocations: 8 kB / 0.7756 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5827, allocations: 0 / 0.7756 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009394/0.5837, allocations: 0.693 MB / 0.7763 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/0.587, allocations: 2.586 MB / 0.7788 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.587, allocations: 8.094 kB / 0.7788 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004781/0.5875, allocations: 127.8 kB / 0.7789 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.5875, allocations: 0 / 0.7789 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.5876, allocations: 19.98 kB / 0.7789 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.5876, allocations: 4 kB / 0.7789 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5876, allocations: 0 / 0.7789 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.5894, allocations: 1.329 MB / 0.7802 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005875/0.59, allocations: 457.8 kB / 0.7807 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.5902, allocations: 12 kB / 0.7807 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.5912, allocations: 123.6 kB / 0.7808 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.5913, allocations: 48.38 kB / 0.7809 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/0.5914, allocations: 27.98 kB / 0.7809 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001879/0.5933, allocations: 1.55 MB / 0.7824 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5933, allocations: 0 / 0.7824 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002159/0.5954, allocations: 1.099 MB / 0.7835 GB, free: 2.441 MB / 0.5919 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.00327/0.5987, allocations: 2.514 MB / 0.7859 GB, free: 60 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.6008, allocations: 1.373 MB / 0.7873 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6008, allocations: 4 kB / 0.7873 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.6013, allocations: 323 kB / 0.7876 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006068/0.6074, allocations: 1.389 MB / 0.7889 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/0.6338, allocations: 18.16 MB / 0.8067 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.6349, allocations: 1.586 MB / 0.8082 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001902/0.6368, allocations: 0.4909 MB / 0.8087 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.6379, allocations: 0.9678 MB / 0.8096 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of SimCode: time 1.864e-06/0.6379, allocations: 0 / 0.8096 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.786/3.424, allocations: 63.58 MB / 0.8717 GB, free: 210.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/3.424, allocations: 249.3 kB / 0.872 GB, free: 210.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.753/7.177, allocations: 3.625 kB / 0.872 GB, free: 210.5 MB / 0.67 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)