Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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: translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00595/0.00595, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001215/0.001215, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9975/0.9975, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 0.5856 GB, free: 3.301 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4593, allocations: 80.92 MB / 0.6647 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1629/0.6222, allocations: 154.4 MB / 0.8154 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05143/0.6737, allocations: 30.35 MB / 0.845 GB, free: 8.312 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008634/0.6824, allocations: 143.1 kB / 0.8452 GB, free: 8.172 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.6869, allocations: 1.063 MB / 0.8462 GB, free: 7.102 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01251/0.6994, allocations: 3.317 MB / 0.8495 GB, free: 3.773 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0078/0.7072, allocations: 2.525 MB / 0.8519 GB, free: 1.281 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009515/0.7168, allocations: 5.408 MB / 0.8572 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006521/0.7233, allocations: 2.228 MB / 0.8594 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007839/0.7312, allocations: 2.755 MB / 0.8621 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004415/0.7356, allocations: 1.965 MB / 0.864 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001357/0.737, allocations: 212 kB / 0.8642 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.7413, allocations: 1.088 MB / 0.8652 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.7427, allocations: 0.5487 MB / 0.8658 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003432/0.7461, allocations: 1.271 MB / 0.867 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.5278/1.274, allocations: 3.325 MB / 0.8703 GB, free: 50.85 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.274, allocations: 0 / 0.8703 GB, free: 50.85 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.685e-06/1.274, allocations: 0.7188 kB / 0.8703 GB, free: 50.85 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.583e-05/1.274, allocations: 0 / 0.8703 GB, free: 50.85 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005968/1.28, allocations: 2.794 MB / 0.873 GB, free: 49.8 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.28, allocations: 11.52 kB / 0.873 GB, free: 49.8 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005388/1.281, allocations: 264.6 kB / 0.8733 GB, free: 49.67 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/1.283, allocations: 1.507 MB / 0.8747 GB, free: 49.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/1.284, allocations: 104.8 kB / 0.8748 GB, free: 49.15 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/1.284, allocations: 139.3 kB / 0.875 GB, free: 49.15 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/1.286, allocations: 1.16 MB / 0.8761 GB, free: 49.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/1.286, allocations: 0 / 0.8761 GB, free: 49.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.286, allocations: 50 kB / 0.8762 GB, free: 49.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/1.286, allocations: 28.28 kB / 0.8762 GB, free: 49.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/1.288, allocations: 1.018 MB / 0.8772 GB, free: 49.05 MB / 0.6856 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.01051/1.299, allocations: 6.31 MB / 0.8833 GB, free: 46.44 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/1.3, allocations: 0.571 MB / 0.8839 GB, free: 46.41 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006054/1.3, allocations: 381.7 kB / 0.8843 GB, free: 46.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/1.301, allocations: 0.5086 MB / 0.8848 GB, free: 45.84 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/1.301, allocations: 41.91 kB / 0.8848 GB, free: 45.8 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001582/1.302, allocations: 237.4 kB / 0.885 GB, free: 45.74 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=58): time 3.827e-06/1.302, allocations: 0 / 0.885 GB, free: 45.74 MB / 0.6856 GB Notification: Performance of matching and sorting (n=58): time 0.002205/1.305, allocations: 1.155 MB / 0.8861 GB, free: 45.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/1.305, allocations: 58.56 kB / 0.8862 GB, free: 45.54 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/1.307, allocations: 1.895 MB / 0.8881 GB, free: 45.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-05/1.307, allocations: 49.86 kB / 0.8881 GB, free: 45.26 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/1.308, allocations: 0.9181 MB / 0.889 GB, free: 45 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/1.308, allocations: 204.6 kB / 0.8892 GB, free: 44.87 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004536/1.309, allocations: 304.8 kB / 0.8895 GB, free: 44.84 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/1.309, allocations: 358.2 kB / 0.8898 GB, free: 44.54 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007716/1.309, allocations: 456.6 kB / 0.8903 GB, free: 44.53 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009862/1.31, allocations: 0.6953 MB / 0.8909 GB, free: 44.31 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.312, allocations: 0.9821 MB / 0.8919 GB, free: 44.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.312, allocations: 1.188 kB / 0.8919 GB, free: 44.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002544/1.314, allocations: 1.428 MB / 0.8933 GB, free: 44.03 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.315, allocations: 10.5 kB / 0.8933 GB, free: 44.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.315, allocations: 3.25 kB / 0.8933 GB, free: 44.03 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/1.315, allocations: 8.312 kB / 0.8933 GB, free: 44.03 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.316, allocations: 286.1 kB / 0.8936 GB, free: 44.03 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/1.316, allocations: 10.95 kB / 0.8936 GB, free: 44.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.317, allocations: 84.75 kB / 0.8937 GB, free: 44.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/1.318, allocations: 61.27 kB / 0.8937 GB, free: 44.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001288/1.319, allocations: 0.7208 MB / 0.8944 GB, free: 43.94 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009298/1.32, allocations: 0.6667 MB / 0.8951 GB, free: 43.72 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001394/1.321, allocations: 0.9366 MB / 0.896 GB, free: 43.58 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.531e-06/1.321, allocations: 5.406 kB / 0.896 GB, free: 43.58 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002317/1.324, allocations: 1.375 MB / 0.8974 GB, free: 43.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.324, allocations: 7.156 kB / 0.8974 GB, free: 43.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.324, allocations: 5.406 kB / 0.8974 GB, free: 43.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/1.324, allocations: 9.281 kB / 0.8974 GB, free: 43.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.325, allocations: 290.6 kB / 0.8977 GB, free: 43.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/1.325, allocations: 8.281 kB / 0.8977 GB, free: 43.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/1.326, allocations: 98.02 kB / 0.8978 GB, free: 43.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/1.326, allocations: 60.69 kB / 0.8978 GB, free: 43.39 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.0002888/1.327, allocations: 242.8 kB / 0.898 GB, free: 43.21 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/1.327, allocations: 198.2 kB / 0.8982 GB, free: 43.11 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/1.329, allocations: 1.096 MB / 0.8993 GB, free: 43.01 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/1.329, allocations: 7.406 kB / 0.8993 GB, free: 43.01 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.329, allocations: 5.953 kB / 0.8993 GB, free: 43.01 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/1.329, allocations: 3.094 kB / 0.8993 GB, free: 43.01 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/1.333, allocations: 2.448 MB / 0.9017 GB, free: 42.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.333, allocations: 3.344 kB / 0.9017 GB, free: 42.62 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/1.333, allocations: 139.7 kB / 0.9018 GB, free: 42.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/1.333, allocations: 7.938 kB / 0.9019 GB, free: 42.62 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/1.333, allocations: 26.78 kB / 0.9019 GB, free: 42.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/1.333, allocations: 3.562 kB / 0.9019 GB, free: 42.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.333, allocations: 3.562 kB / 0.9019 GB, free: 42.61 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/1.335, allocations: 1.065 MB / 0.9029 GB, free: 42.31 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/1.335, allocations: 355.3 kB / 0.9033 GB, free: 42.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/1.335, allocations: 20.5 kB / 0.9033 GB, free: 42.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007423/1.336, allocations: 38.08 kB / 0.9033 GB, free: 42.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.336, allocations: 50.42 kB / 0.9034 GB, free: 42.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/1.336, allocations: 24.77 kB / 0.9034 GB, free: 42.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001454/1.338, allocations: 1.254 MB / 0.9046 GB, free: 41.95 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/1.338, allocations: 0.9844 kB / 0.9046 GB, free: 41.95 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002148/1.34, allocations: 0.9054 MB / 0.9055 GB, free: 41.84 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (77): * Single equations (assignments): 74 * 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.0006406/1.34, allocations: 340 kB / 0.9058 GB, free: 41.71 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002645/1.343, allocations: 1.651 MB / 0.9074 GB, free: 41.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.343, allocations: 0 / 0.9074 GB, free: 41.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006266/1.344, allocations: 414.9 kB / 0.9078 GB, free: 41.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003967/1.348, allocations: 1.089 MB / 0.9089 GB, free: 41.53 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/1.352, allocations: 2.982 MB / 0.9118 GB, free: 40.27 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/1.352, allocations: 1.409 MB / 0.9132 GB, free: 39.51 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001511/1.354, allocations: 402.6 kB / 0.9136 GB, free: 39.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/1.354, allocations: 162.5 kB / 0.9137 GB, free: 39.4 MB / 0.6856 GB Notification: Performance of SimCode: time 7.62e-07/1.354, allocations: 0 / 0.9137 GB, free: 39.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.05391/1.408, allocations: 38.59 MB / 0.9514 GB, free: 15.35 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)