Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.00155, allocations: 183.1 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7042/0.7042, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 404.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009581/0.000958, allocations: 99.75 kB / 485.9 MB, free: 7.148 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 51.92 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1541, allocations: 80.43 MB / 0.6421 GB, free: 5.395 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03161/0.1858, allocations: 29.66 MB / 0.6711 GB, free: 7.621 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.1972, allocations: 8.204 MB / 0.6791 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.1988, allocations: 23.81 kB / 0.6791 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.2002, allocations: 349.9 kB / 0.6795 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0039/0.2042, allocations: 1.24 MB / 0.6807 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.207, allocations: 1.029 MB / 0.6817 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005028/0.212, allocations: 4.224 MB / 0.6858 GB, free: 8.531 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.2141, allocations: 1.18 MB / 0.687 GB, free: 7.336 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.2173, allocations: 1.534 MB / 0.6885 GB, free: 5.797 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003148/0.2205, allocations: 1.62 MB / 0.69 GB, free: 4.172 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006747/0.2212, allocations: 75.94 kB / 0.6901 GB, free: 4.098 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.2237, allocations: 0.9397 MB / 0.691 GB, free: 3.156 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006073/0.2243, allocations: 354.6 kB / 0.6914 GB, free: 2.809 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.2253, allocations: 0.692 MB / 0.6921 GB, free: 2.113 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2911/0.5164, allocations: 2.123 MB / 0.6941 GB, free: 19.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.5165, allocations: 0 / 0.6941 GB, free: 19.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5165, allocations: 0.9062 kB / 0.6941 GB, free: 19.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.019e-05/0.5165, allocations: 0 / 0.6941 GB, free: 19.43 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.004143/0.5207, allocations: 1.666 MB / 0.6958 GB, free: 18.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5207, allocations: 10.16 kB / 0.6958 GB, free: 18.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007012/0.5215, allocations: 149.2 kB / 0.6959 GB, free: 18.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/0.5239, allocations: 0.8978 MB / 0.6968 GB, free: 18.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.524, allocations: 79.09 kB / 0.6969 GB, free: 18.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004044/0.5244, allocations: 120.3 kB / 0.697 GB, free: 18.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5257, allocations: 0.6344 MB / 0.6976 GB, free: 18.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5258, allocations: 0 / 0.6976 GB, free: 18.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.5258, allocations: 22.75 kB / 0.6976 GB, free: 18.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.5258, allocations: 14.72 kB / 0.6976 GB, free: 18.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.5269, allocations: 464 kB / 0.6981 GB, free: 18.18 MB / 490.7 MB 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.005284/0.5321, allocations: 2.87 MB / 0.7009 GB, free: 16.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.5328, allocations: 318.1 kB / 0.7012 GB, free: 16.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.5332, allocations: 148.6 kB / 0.7013 GB, free: 16.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.5334, allocations: 345.9 kB / 0.7016 GB, free: 16.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.5335, allocations: 36.81 kB / 0.7017 GB, free: 16.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/0.5335, allocations: 4.812 kB / 0.7017 GB, free: 16.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001483/0.535, allocations: 0.5246 MB / 0.7022 GB, free: 16.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.535, allocations: 55.16 kB / 0.7023 GB, free: 16.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.5364, allocations: 0.9076 MB / 0.7031 GB, free: 16.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.5366, allocations: 55.67 kB / 0.7032 GB, free: 16.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.537, allocations: 0.5328 MB / 0.7037 GB, free: 15.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.5371, allocations: 108.5 kB / 0.7038 GB, free: 15.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005569/0.5377, allocations: 296.8 kB / 0.7041 GB, free: 15.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.5378, allocations: 329.5 kB / 0.7044 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.5382, allocations: 192.1 kB / 0.7046 GB, free: 15.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.5395, allocations: 1.151 MB / 0.7057 GB, free: 14.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008856/0.5404, allocations: 460.7 kB / 0.7062 GB, free: 14.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.5404, allocations: 1.969 kB / 0.7062 GB, free: 14.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001468/0.5419, allocations: 0.6553 MB / 0.7068 GB, free: 14.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5419, allocations: 5.938 kB / 0.7068 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.5419, allocations: 2.844 kB / 0.7068 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.5419, allocations: 5.125 kB / 0.7068 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.5434, allocations: 228 kB / 0.707 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.5444, allocations: 2.954 MB / 0.7099 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/0.5481, allocations: 0.7276 MB / 0.7106 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/0.5482, allocations: 34.02 kB / 0.7107 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008515/0.549, allocations: 369.2 kB / 0.711 GB, free: 11.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001215/0.5503, allocations: 1.16 MB / 0.7121 GB, free: 10.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007529/0.551, allocations: 457.8 kB / 0.7126 GB, free: 10.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/0.551, allocations: 1.438 kB / 0.7126 GB, free: 10.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001571/0.5526, allocations: 0.6557 MB / 0.7132 GB, free: 10.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5526, allocations: 11.56 kB / 0.7132 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5527, allocations: 3.422 kB / 0.7132 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.5527, allocations: 6 kB / 0.7132 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.5533, allocations: 160.6 kB / 0.7134 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.5534, allocations: 9.172 kB / 0.7134 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004868/0.5582, allocations: 0.9859 MB / 0.7144 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.321e-05/0.5583, allocations: 28.95 kB / 0.7144 GB, free: 10.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003243/0.5587, allocations: 240.2 kB / 0.7146 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.5589, allocations: 98.19 kB / 0.7147 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.5601, allocations: 0.5069 MB / 0.7152 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5601, allocations: 6.5 kB / 0.7152 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5601, allocations: 1.094 kB / 0.7152 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5601, allocations: 7.328 kB / 0.7152 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.5622, allocations: 1.258 MB / 0.7165 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5622, allocations: 1.625 kB / 0.7165 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/0.5627, allocations: 116.9 kB / 0.7166 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.5628, allocations: 6.203 kB / 0.7166 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.5628, allocations: 14.55 kB / 0.7166 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007478/0.5636, allocations: 2.931 MB / 0.7195 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5636, allocations: 7.75 kB / 0.7195 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.565, allocations: 1.472 MB / 0.7209 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.5653, allocations: 211.2 kB / 0.7211 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.5654, allocations: 11.38 kB / 0.7211 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.566, allocations: 65.95 kB / 0.7212 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.566, allocations: 31.84 kB / 0.7212 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.5661, allocations: 11 kB / 0.7212 GB, free: 5.402 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007451/0.5668, allocations: 0.6052 MB / 0.7218 GB, free: 5.293 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5668, allocations: 0 / 0.7218 GB, free: 5.293 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001825/0.5687, allocations: 0.5476 MB / 0.7223 GB, free: 5.227 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006579/0.5693, allocations: 337.6 kB / 0.7227 GB, free: 5.098 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.572, allocations: 0.8365 MB / 0.7235 GB, free: 5.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.572, allocations: 1.844 kB / 0.7235 GB, free: 5.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.5726, allocations: 229.5 kB / 0.7237 GB, free: 5.086 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.5751, allocations: 484.3 kB / 0.7242 GB, free: 5.047 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.5777, allocations: 2.104 MB / 0.7262 GB, free: 3.867 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.5782, allocations: 1.037 MB / 0.7272 GB, free: 3.152 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001367/0.5796, allocations: 213.7 kB / 0.7274 GB, free: 3.094 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.5799, allocations: 81.23 kB / 0.7275 GB, free: 3.086 MB / 490.7 MB Notification: Performance of SimCode: time 6.12e-07/0.5799, allocations: 4 kB / 0.7275 GB, free: 3.082 MB / 490.7 MB Notification: Performance of Templates: time 0.03947/0.6193, allocations: 25.01 MB / 0.7519 GB, free: 5.164 MB / 0.4948 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)