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.007864/0.007864, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.001436/0.001436, allocations: 190 kB / 16.67 MB, free: 5.977 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9767/0.9767, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.91 kB / 0.5856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.454, allocations: 80.91 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01867/0.4727, allocations: 19.44 MB / 0.6836 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008115/0.4808, allocations: 5.146 MB / 0.6887 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007864/0.4817, allocations: 19.16 kB / 0.6887 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008106/0.4825, allocations: 275.3 kB / 0.6889 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.4848, allocations: 0.8158 MB / 0.6897 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.4871, allocations: 0.8743 MB / 0.6906 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.4892, allocations: 1.563 MB / 0.6921 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009814/0.4902, allocations: 0.5116 MB / 0.6926 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.4917, allocations: 0.6302 MB / 0.6932 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.4928, allocations: 0.5343 MB / 0.6938 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.493, allocations: 55.19 kB / 0.6938 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.4944, allocations: 0.7016 MB / 0.6945 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.4946, allocations: 166.5 kB / 0.6947 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006283/0.4952, allocations: 381.8 kB / 0.695 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.497, allocations: 1.093 MB / 0.6961 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.497, allocations: 3.938 kB / 0.6961 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.497, allocations: 0 / 0.6961 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.497, allocations: 1.688 kB / 0.6961 GB, free: 14.84 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.001775/0.4988, allocations: 1.111 MB / 0.6972 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.4988, allocations: 9.625 kB / 0.6972 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.499, allocations: 83.78 kB / 0.6973 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007167/0.4997, allocations: 0.5188 MB / 0.6978 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.4997, allocations: 37.62 kB / 0.6978 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.421e-05/0.4998, allocations: 49 kB / 0.6978 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009768/0.5008, allocations: 0.6177 MB / 0.6985 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5008, allocations: 9.375 kB / 0.6985 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.5009, allocations: 22.03 kB / 0.6985 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.5009, allocations: 19.25 kB / 0.6985 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.5019, allocations: 494.8 kB / 0.699 GB, free: 12.71 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.003404/0.5054, allocations: 3.195 MB / 0.7021 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.5061, allocations: 336.7 kB / 0.7024 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.5066, allocations: 229.9 kB / 0.7026 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003672/0.507, allocations: 352.2 kB / 0.703 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5071, allocations: 33.47 kB / 0.703 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.174e-06/0.5071, allocations: 0 / 0.703 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.002196/0.5093, allocations: 0.8043 MB / 0.7038 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.5093, allocations: 63.03 kB / 0.7038 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006936/0.51, allocations: 0.5832 MB / 0.7044 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.5101, allocations: 36.05 kB / 0.7045 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.5103, allocations: 323.9 kB / 0.7048 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.5104, allocations: 139.2 kB / 0.7049 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.5106, allocations: 128.1 kB / 0.705 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5108, allocations: 373.9 kB / 0.7054 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.5113, allocations: 219.8 kB / 0.7056 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/0.5119, allocations: 372 kB / 0.7059 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.5129, allocations: 0.5743 MB / 0.7065 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5129, allocations: 0 / 0.7065 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001368/0.5143, allocations: 0.7183 MB / 0.7072 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5143, allocations: 4 kB / 0.7072 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5143, allocations: 8.562 kB / 0.7072 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/0.5149, allocations: 140.8 kB / 0.7073 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.5154, allocations: 139.7 kB / 0.7075 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005638/0.516, allocations: 0.6225 MB / 0.7081 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.5165, allocations: 87.27 kB / 0.7082 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.5166, allocations: 28 kB / 0.7082 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006105/0.5172, allocations: 349.3 kB / 0.7085 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005838/0.5178, allocations: 372 kB / 0.7089 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009652/0.5188, allocations: 0.551 MB / 0.7094 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.5188, allocations: 4 kB / 0.7094 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.00126/0.5201, allocations: 0.6786 MB / 0.7101 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.5201, allocations: 10.8 kB / 0.7101 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.5201, allocations: 4 kB / 0.7101 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.5201, allocations: 8 kB / 0.7101 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/0.5207, allocations: 155.7 kB / 0.7103 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.5207, allocations: 11.94 kB / 0.7103 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.5212, allocations: 67.95 kB / 0.7103 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.5213, allocations: 31.98 kB / 0.7104 GB, free: 1.945 MB / 0.5294 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.0001969/0.5215, allocations: 213.6 kB / 0.7106 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.5216, allocations: 67.16 kB / 0.7106 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.523, allocations: 0.6441 MB / 0.7113 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.523, allocations: 8 kB / 0.7113 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.523, allocations: 0 / 0.7113 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.523, allocations: 3.984 kB / 0.7113 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.5253, allocations: 1.352 MB / 0.7126 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5253, allocations: 7.984 kB / 0.7126 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.5256, allocations: 83.88 kB / 0.7127 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003144/0.526, allocations: 104.9 kB / 0.7128 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.526, allocations: 19.98 kB / 0.7128 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00056/0.5266, allocations: 0.6264 MB / 0.7134 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5266, allocations: 4.031 kB / 0.7134 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.5278, allocations: 0.6991 MB / 0.7141 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.528, allocations: 200 kB / 0.7143 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.07e-05/0.5281, allocations: 8 kB / 0.7143 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.5285, allocations: 27.97 kB / 0.7143 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.5285, allocations: 39.89 kB / 0.7144 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.5286, allocations: 15.98 kB / 0.7144 GB, free: 13.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004136/0.529, allocations: 403.1 kB / 0.7148 GB, free: 13.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.529, allocations: 4 kB / 0.7148 GB, free: 13.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001106/0.5301, allocations: 383.4 kB / 0.7151 GB, free: 12.9 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.0006304/0.5308, allocations: 296.6 kB / 0.7154 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.5326, allocations: 0.8619 MB / 0.7163 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5326, allocations: 0 / 0.7163 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.5333, allocations: 292.9 kB / 0.7165 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.5343, allocations: 232.3 kB / 0.7168 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.5361, allocations: 1.068 MB / 0.7178 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.5365, allocations: 0.9194 MB / 0.7187 GB, free: 9.195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004391/0.537, allocations: 153 kB / 0.7188 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.5371, allocations: 55.42 kB / 0.7189 GB, free: 8.992 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5371, allocations: 4 kB / 0.7189 GB, free: 8.988 MB / 0.545 GB Notification: Performance of Templates: time 0.01957/0.5567, allocations: 12.71 MB / 0.7313 GB, free: 12.45 MB / 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)