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.001366/0.001366, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9332/0.9332, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.39 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1401, allocations: 80.93 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3273/0.4674, allocations: 112.6 MB / 0.6945 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02932/0.4967, allocations: 20.22 MB / 0.7142 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004085/0.5009, allocations: 108.9 kB / 0.7143 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.5047, allocations: 1.282 MB / 0.7156 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.515, allocations: 3.671 MB / 0.7192 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007801/0.5228, allocations: 3.07 MB / 0.7222 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009704/0.5325, allocations: 7.191 MB / 0.7292 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004678/0.5372, allocations: 2.573 MB / 0.7317 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007927/0.5452, allocations: 2.798 MB / 0.7344 GB, free: 2.973 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004429/0.5496, allocations: 2.127 MB / 0.7365 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.5507, allocations: 252.3 kB / 0.7367 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004658/0.5554, allocations: 1.65 MB / 0.7383 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.5564, allocations: 0.6851 MB / 0.739 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002742/0.5592, allocations: 1.516 MB / 0.7405 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006337/0.5655, allocations: 4.342 MB / 0.7447 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5656, allocations: 8 kB / 0.7447 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5656, allocations: 0 / 0.7447 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000126/0.5657, allocations: 0 / 0.7447 GB, free: 9.941 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.006259/0.572, allocations: 3.234 MB / 0.7479 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.572, allocations: 8.031 kB / 0.7479 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00025/0.5723, allocations: 215.5 kB / 0.7481 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008046/0.5731, allocations: 328.2 kB / 0.7484 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/0.5763, allocations: 2.096 MB / 0.7505 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.653e-05/0.5764, allocations: 123 kB / 0.7506 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.5766, allocations: 168 kB / 0.7508 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.5791, allocations: 1.615 MB / 0.7523 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.5791, allocations: 3.906 kB / 0.7523 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.5792, allocations: 67.94 kB / 0.7524 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.5793, allocations: 43.98 kB / 0.7524 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.5813, allocations: 1.147 MB / 0.7536 GB, free: 0.6914 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.009731/0.591, allocations: 7.971 MB / 0.7613 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/0.5918, allocations: 475 kB / 0.7618 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000496/0.5923, allocations: 323 kB / 0.7621 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006303/0.593, allocations: 0.7563 MB / 0.7628 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.593, allocations: 47.11 kB / 0.7629 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/0.593, allocations: 0 / 0.7629 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001937/0.595, allocations: 0.9842 MB / 0.7639 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.595, allocations: 59.95 kB / 0.7639 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/0.5982, allocations: 2.335 MB / 0.7662 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.532e-05/0.5983, allocations: 45.7 kB / 0.7662 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000905/0.5992, allocations: 1.153 MB / 0.7674 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.5994, allocations: 220.9 kB / 0.7676 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/0.5998, allocations: 254.6 kB / 0.7678 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5999, allocations: 345.9 kB / 0.7681 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006643/0.6006, allocations: 357.9 kB / 0.7685 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009714/0.6016, allocations: 0.7503 MB / 0.7692 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.603, allocations: 0.9862 MB / 0.7702 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.603, allocations: 4 kB / 0.7702 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002284/0.6053, allocations: 1.291 MB / 0.7714 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6054, allocations: 8 kB / 0.7715 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.6054, allocations: 12 kB / 0.7715 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.6054, allocations: 12.72 kB / 0.7715 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009921/0.6064, allocations: 259.6 kB / 0.7717 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/0.6065, allocations: 23.92 kB / 0.7717 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.6079, allocations: 162.3 kB / 0.7719 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.608, allocations: 55.98 kB / 0.772 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001304/0.6093, allocations: 0.7569 MB / 0.7727 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009432/0.6103, allocations: 0.7426 MB / 0.7734 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001347/0.6116, allocations: 0.9484 MB / 0.7743 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.763e-06/0.6117, allocations: 4 kB / 0.7744 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.00218/0.6138, allocations: 1.258 MB / 0.7756 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6139, allocations: 8 kB / 0.7756 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6139, allocations: 13.53 kB / 0.7756 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.6139, allocations: 16.03 kB / 0.7756 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009855/0.6149, allocations: 251.6 kB / 0.7759 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.6149, allocations: 23.92 kB / 0.7759 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.6165, allocations: 131 kB / 0.776 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.6166, allocations: 55.98 kB / 0.7761 GB, free: 8.328 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.0003615/0.617, allocations: 247.9 kB / 0.7763 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005489/0.6175, allocations: 233.1 kB / 0.7765 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.6194, allocations: 0.8837 MB / 0.7774 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.6195, allocations: 11.94 kB / 0.7774 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6195, allocations: 0 / 0.7774 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/0.6206, allocations: 0.6853 MB / 0.7781 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.6248, allocations: 2.582 MB / 0.7806 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6248, allocations: 3.938 kB / 0.7806 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.6253, allocations: 127.9 kB / 0.7807 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.6253, allocations: 96 / 0.7807 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.6254, allocations: 23.98 kB / 0.7807 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-06/0.6254, allocations: 4 kB / 0.7807 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6254, allocations: 7.875 kB / 0.7807 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.6275, allocations: 1.309 MB / 0.782 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006908/0.6282, allocations: 421.9 kB / 0.7824 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/0.6286, allocations: 12 kB / 0.7824 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.6296, allocations: 43.95 kB / 0.7825 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.6297, allocations: 48.44 kB / 0.7825 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.152e-05/0.6298, allocations: 39.91 kB / 0.7826 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002285/0.6321, allocations: 1.57 MB / 0.7841 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6321, allocations: 0 / 0.7841 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002649/0.6347, allocations: 1.103 MB / 0.7852 GB, free: 14.81 MB / 0.6075 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.003672/0.6384, allocations: 2.516 MB / 0.7876 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002738/0.6412, allocations: 1.441 MB / 0.789 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6412, allocations: 8 kB / 0.789 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005347/0.6417, allocations: 327 kB / 0.7894 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005893/0.6476, allocations: 1.39 MB / 0.7907 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/0.6723, allocations: 17.37 MB / 0.8077 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.6736, allocations: 1.59 MB / 0.8092 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002008/0.6756, allocations: 0.4908 MB / 0.8097 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.6768, allocations: 0.9601 MB / 0.8106 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/0.6768, allocations: 0 / 0.8106 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3187/0.9955, allocations: 65.93 MB / 0.875 GB, free: 210.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.958/9.953, allocations: 5.281 kB / 0.875 GB, free: 210.7 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)