Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 110.5 kB / 16.41 MB, free: 6.453 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.001027/0.001027, allocations: 185.6 kB / 17.34 MB, free: 5.738 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.847/0.847, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.5 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1573, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01997/0.1773, allocations: 19.44 MB / 0.6843 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007733/0.1851, allocations: 5.154 MB / 0.6893 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000993/0.1861, allocations: 19.88 kB / 0.6893 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009745/0.1871, allocations: 266 kB / 0.6896 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.1896, allocations: 0.7653 MB / 0.6903 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.192, allocations: 0.8899 MB / 0.6912 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.1942, allocations: 1.556 MB / 0.6927 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007444/0.1949, allocations: 0.4977 MB / 0.6932 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.196, allocations: 0.6382 MB / 0.6938 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006917/0.1967, allocations: 0.5406 MB / 0.6944 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/0.1968, allocations: 52 kB / 0.6944 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.1981, allocations: 0.6979 MB / 0.6951 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.1983, allocations: 167.3 kB / 0.6953 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.1987, allocations: 378 kB / 0.6956 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2, allocations: 1.102 MB / 0.6967 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2, allocations: 0 / 0.6967 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2001, allocations: 0 / 0.6967 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.2001, allocations: 0 / 0.6967 GB, free: 5.551 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001867/0.2019, allocations: 1.098 MB / 0.6978 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.202, allocations: 13.11 kB / 0.6978 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.2022, allocations: 83.91 kB / 0.6979 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/0.203, allocations: 0.5297 MB / 0.6984 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.203, allocations: 37 kB / 0.6984 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.2031, allocations: 48 kB / 0.6985 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.2042, allocations: 0.6138 MB / 0.6991 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2042, allocations: 8 kB / 0.6991 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.2043, allocations: 24 kB / 0.6991 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.2043, allocations: 12 kB / 0.6991 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.2053, allocations: 487.4 kB / 0.6996 GB, free: 2.457 MB / 0.5294 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.003519/0.2089, allocations: 3.208 MB / 0.7027 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.2096, allocations: 342.8 kB / 0.703 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.2101, allocations: 228.7 kB / 0.7032 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/0.2105, allocations: 360.1 kB / 0.7036 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2105, allocations: 30.56 kB / 0.7036 GB, free: 14.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.033e-06/0.2105, allocations: 4 kB / 0.7036 GB, free: 14.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=38): time 0.002123/0.2127, allocations: 0.8044 MB / 0.7044 GB, free: 13.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.2127, allocations: 59.16 kB / 0.7045 GB, free: 13.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006581/0.2134, allocations: 0.5862 MB / 0.705 GB, free: 12.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.2134, allocations: 33.7 kB / 0.7051 GB, free: 12.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.2137, allocations: 328.4 kB / 0.7054 GB, free: 12.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.2138, allocations: 134.1 kB / 0.7055 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.214, allocations: 130.2 kB / 0.7056 GB, free: 11.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2142, allocations: 374.7 kB / 0.706 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/0.2147, allocations: 223.4 kB / 0.7062 GB, free: 11.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.2153, allocations: 372 kB / 0.7066 GB, free: 10.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.2164, allocations: 0.5704 MB / 0.7071 GB, free: 10.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2164, allocations: 0 / 0.7071 GB, free: 10.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001467/0.2178, allocations: 0.7182 MB / 0.7078 GB, free: 9.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.2179, allocations: 8 kB / 0.7078 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.2179, allocations: 4 kB / 0.7078 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/0.2185, allocations: 137.4 kB / 0.708 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.2191, allocations: 135.8 kB / 0.7081 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000589/0.2197, allocations: 0.6187 MB / 0.7087 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.2202, allocations: 79.41 kB / 0.7088 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.2203, allocations: 31.98 kB / 0.7088 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006578/0.221, allocations: 353.3 kB / 0.7091 GB, free: 8.113 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005912/0.2216, allocations: 367.9 kB / 0.7095 GB, free: 7.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001052/0.2226, allocations: 0.5549 MB / 0.71 GB, free: 7.074 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.2226, allocations: 4 kB / 0.71 GB, free: 7.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001334/0.224, allocations: 0.6827 MB / 0.7107 GB, free: 6.383 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.224, allocations: 9.875 kB / 0.7107 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.224, allocations: 4 kB / 0.7107 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.224, allocations: 8 kB / 0.7107 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.2246, allocations: 159.7 kB / 0.7109 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.2247, allocations: 8 kB / 0.7109 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.2251, allocations: 71.7 kB / 0.7109 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.2252, allocations: 31.98 kB / 0.711 GB, free: 6.098 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.2254, allocations: 212.1 kB / 0.7112 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.2255, allocations: 63.16 kB / 0.7112 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.227, allocations: 0.6497 MB / 0.7119 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.2271, allocations: 4 kB / 0.7119 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2271, allocations: 4 kB / 0.7119 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2271, allocations: 0 / 0.7119 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.2296, allocations: 1.364 MB / 0.7132 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2296, allocations: 0 / 0.7132 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.23, allocations: 87.88 kB / 0.7133 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003785/0.2304, allocations: 104.8 kB / 0.7134 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.2304, allocations: 24.08 kB / 0.7134 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006306/0.2311, allocations: 0.6264 MB / 0.714 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2311, allocations: 3.938 kB / 0.714 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.2324, allocations: 0.7019 MB / 0.7147 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.2327, allocations: 188.1 kB / 0.7149 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.707e-05/0.2328, allocations: 16 kB / 0.7149 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.2332, allocations: 35.95 kB / 0.7149 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.2333, allocations: 31.95 kB / 0.715 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.2333, allocations: 16 kB / 0.715 GB, free: 1.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004697/0.2338, allocations: 407 kB / 0.7154 GB, free: 1.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2338, allocations: 0 / 0.7154 GB, free: 1.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001132/0.235, allocations: 387.3 kB / 0.7158 GB, free: 1.047 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007457/0.2357, allocations: 296.3 kB / 0.716 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.2378, allocations: 0.8743 MB / 0.7169 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2378, allocations: 0 / 0.7169 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007202/0.2385, allocations: 280 kB / 0.7172 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.2397, allocations: 231.2 kB / 0.7174 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.2417, allocations: 1.097 MB / 0.7184 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.2422, allocations: 0.9155 MB / 0.7193 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.2424, allocations: 67.36 kB / 0.7194 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.2424, allocations: 0 / 0.7194 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of Templates: time 0.01912/0.2615, allocations: 12.92 MB / 0.732 GB, free: 408 kB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)