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.001372/0.001372, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001899/0.001899, allocations: 195 kB / 16.14 MB, free: 6.711 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.096/1.096, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001536, allocations: 68.55 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2307, allocations: 80.92 MB / 0.5837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02185/0.2526, allocations: 19.35 MB / 0.6026 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3397/0.5923, allocations: 5.177 MB / 0.6077 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.5934, allocations: 16.38 kB / 0.6077 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008845/0.5943, allocations: 218.7 kB / 0.6079 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.5966, allocations: 0.7059 MB / 0.6086 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.5987, allocations: 0.7889 MB / 0.6093 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002146/0.6009, allocations: 1.943 MB / 0.6112 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006347/0.6015, allocations: 449.6 kB / 0.6117 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.6027, allocations: 0.5728 MB / 0.6122 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005572/0.6033, allocations: 0.5256 MB / 0.6127 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/0.6034, allocations: 33.84 kB / 0.6128 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.6046, allocations: 0.6657 MB / 0.6134 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.6048, allocations: 139.3 kB / 0.6136 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.6051, allocations: 359.3 kB / 0.6139 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.6064, allocations: 1.051 MB / 0.6149 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6064, allocations: 6.062 kB / 0.6149 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6064, allocations: 0 / 0.6149 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.6064, allocations: 0 / 0.6149 GB, free: 34.93 MB / 0.4981 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.001776/0.6082, allocations: 1.107 MB / 0.616 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.6083, allocations: 9.719 kB / 0.616 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.6084, allocations: 83.5 kB / 0.6161 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.6091, allocations: 0.5024 MB / 0.6166 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.6091, allocations: 43.38 kB / 0.6166 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.6092, allocations: 45.84 kB / 0.6167 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000998/0.6102, allocations: 0.6227 MB / 0.6173 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.6102, allocations: 2.688 kB / 0.6173 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.6103, allocations: 19.59 kB / 0.6173 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.6103, allocations: 10.5 kB / 0.6173 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.6113, allocations: 498.9 kB / 0.6178 GB, free: 33.71 MB / 0.4981 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.002887/0.6142, allocations: 3.184 MB / 0.6209 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/0.6148, allocations: 346.7 kB / 0.6212 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.6152, allocations: 226.6 kB / 0.6214 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003731/0.6156, allocations: 348.4 kB / 0.6218 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.6156, allocations: 34.56 kB / 0.6218 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.455e-06/0.6157, allocations: 6.812 kB / 0.6218 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001968/0.6176, allocations: 0.8076 MB / 0.6226 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.6177, allocations: 58.08 kB / 0.6227 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.6183, allocations: 0.5849 MB / 0.6232 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.6183, allocations: 36.55 kB / 0.6233 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.6185, allocations: 324 kB / 0.6236 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.6186, allocations: 135.6 kB / 0.6237 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.6187, allocations: 130.6 kB / 0.6238 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6189, allocations: 379.9 kB / 0.6242 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.6193, allocations: 216.9 kB / 0.6244 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.6198, allocations: 369.3 kB / 0.6248 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.6208, allocations: 0.5767 MB / 0.6253 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6208, allocations: 2.438 kB / 0.6253 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001343/0.6221, allocations: 0.7181 MB / 0.626 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.6222, allocations: 12.38 kB / 0.626 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.6222, allocations: 2.875 kB / 0.626 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/0.6228, allocations: 132.5 kB / 0.6262 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.6233, allocations: 134.8 kB / 0.6263 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004834/0.6238, allocations: 0.6212 MB / 0.6269 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.6245, allocations: 98.05 kB / 0.627 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.6246, allocations: 32.2 kB / 0.627 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006332/0.6252, allocations: 349.8 kB / 0.6274 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000528/0.6258, allocations: 361.9 kB / 0.6277 GB, free: 27.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009128/0.6267, allocations: 0.5591 MB / 0.6282 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.6267, allocations: 0 / 0.6282 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001206/0.6279, allocations: 0.6742 MB / 0.6289 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.6279, allocations: 13.09 kB / 0.6289 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.628, allocations: 7.25 kB / 0.6289 GB, free: 26.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.628, allocations: 6.469 kB / 0.6289 GB, free: 26.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/0.6285, allocations: 155 kB / 0.6291 GB, free: 26.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.6286, allocations: 6.562 kB / 0.6291 GB, free: 26.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.6292, allocations: 84.84 kB / 0.6292 GB, free: 26.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.6292, allocations: 32.44 kB / 0.6292 GB, free: 26.57 MB / 0.4981 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.0001826/0.6294, allocations: 213.1 kB / 0.6294 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.6295, allocations: 69.67 kB / 0.6295 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.6309, allocations: 0.6491 MB / 0.6301 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.6309, allocations: 6.906 kB / 0.6301 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.631, allocations: 7.266 kB / 0.6301 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.631, allocations: 0 / 0.6301 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.6332, allocations: 1.359 MB / 0.6314 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6332, allocations: 2.5 kB / 0.6314 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.6335, allocations: 87.27 kB / 0.6315 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003986/0.6339, allocations: 108.1 kB / 0.6316 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.634, allocations: 17.58 kB / 0.6316 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005571/0.6345, allocations: 0.621 MB / 0.6323 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.6346, allocations: 6.906 kB / 0.6323 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.6359, allocations: 0.6985 MB / 0.6329 GB, free: 24.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.6362, allocations: 197.6 kB / 0.6331 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.802e-05/0.6363, allocations: 14.31 kB / 0.6331 GB, free: 24.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.6368, allocations: 49.5 kB / 0.6332 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.6369, allocations: 27.33 kB / 0.6332 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.637, allocations: 20.33 kB / 0.6332 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000525/0.6375, allocations: 406.5 kB / 0.6336 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.3e-07/0.6375, allocations: 0 / 0.6336 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001671/0.6392, allocations: 390.6 kB / 0.634 GB, free: 23.93 MB / 0.4981 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.0008441/0.64, allocations: 294.1 kB / 0.6343 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.642, allocations: 0.8684 MB / 0.6351 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.642, allocations: 2.625 kB / 0.6351 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006853/0.6427, allocations: 279.6 kB / 0.6354 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.6446, allocations: 271.5 kB / 0.6357 GB, free: 23.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.6468, allocations: 1.319 MB / 0.6369 GB, free: 22.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.6473, allocations: 0.9072 MB / 0.6378 GB, free: 21.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007468/0.648, allocations: 161.2 kB / 0.638 GB, free: 21.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.6482, allocations: 59.3 kB / 0.638 GB, free: 21.78 MB / 0.4981 GB Notification: Performance of SimCode: time 1.623e-06/0.6482, allocations: 0 / 0.638 GB, free: 21.78 MB / 0.4981 GB Notification: Performance of Templates: time 0.03095/0.6792, allocations: 12.29 MB / 0.65 GB, free: 20.8 MB / 0.4981 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)