Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.28 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1698, allocations: 80.93 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.3279/0.4977, allocations: 30.57 MB / 0.6142 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.508, allocations: 10.85 MB / 0.6248 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.5093, allocations: 26.41 kB / 0.6248 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.5103, allocations: 317.5 kB / 0.6251 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.5132, allocations: 1.057 MB / 0.6262 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.5153, allocations: 0.7611 MB / 0.6269 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002911/0.5182, allocations: 2.837 MB / 0.6297 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008558/0.5191, allocations: 0.5805 MB / 0.6302 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.521, allocations: 0.9006 MB / 0.6311 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009652/0.522, allocations: 0.6833 MB / 0.6318 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.237e-05/0.5221, allocations: 34.94 kB / 0.6318 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.5234, allocations: 0.5787 MB / 0.6324 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.5236, allocations: 153.6 kB / 0.6325 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004255/0.524, allocations: 411.8 kB / 0.6329 GB, free: 27.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008575/0.5249, allocations: 0.7815 MB / 0.6337 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5249, allocations: 0 / 0.6337 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5249, allocations: 0 / 0.6337 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.5249, allocations: 0 / 0.6337 GB, free: 27.59 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001655/0.5266, allocations: 1.165 MB / 0.6348 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5266, allocations: 9.062 kB / 0.6348 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.5268, allocations: 99.84 kB / 0.6349 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.5275, allocations: 0.5546 MB / 0.6355 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.5275, allocations: 39.28 kB / 0.6355 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.5276, allocations: 58.34 kB / 0.6356 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.5283, allocations: 413.4 kB / 0.636 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.5283, allocations: 0 / 0.636 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.5283, allocations: 18.81 kB / 0.636 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.5283, allocations: 11.19 kB / 0.636 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.5289, allocations: 304.5 kB / 0.6363 GB, free: 26.02 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.002264/0.5312, allocations: 1.852 MB / 0.6381 GB, free: 24.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.5315, allocations: 172.7 kB / 0.6383 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.5317, allocations: 80.64 kB / 0.6383 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.5319, allocations: 344.9 kB / 0.6387 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.5319, allocations: 34.56 kB / 0.6387 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.5319, allocations: 0 / 0.6387 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006677/0.5326, allocations: 306.6 kB / 0.639 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.5326, allocations: 57.84 kB / 0.639 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.5333, allocations: 0.6767 MB / 0.6397 GB, free: 23.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.5333, allocations: 36.42 kB / 0.6397 GB, free: 23.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.5335, allocations: 359.6 kB / 0.6401 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.5336, allocations: 70.53 kB / 0.6401 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.5337, allocations: 96.56 kB / 0.6402 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5338, allocations: 378.3 kB / 0.6406 GB, free: 22.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.534, allocations: 113.4 kB / 0.6407 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.5343, allocations: 175.5 kB / 0.6409 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.5347, allocations: 239.9 kB / 0.6411 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5347, allocations: 0 / 0.6411 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006226/0.5353, allocations: 397.4 kB / 0.6415 GB, free: 22.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5354, allocations: 9.906 kB / 0.6415 GB, free: 22.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5354, allocations: 0 / 0.6415 GB, free: 22.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5354, allocations: 2.531 kB / 0.6415 GB, free: 22.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009712/0.5364, allocations: 160.4 kB / 0.6417 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008828/0.5373, allocations: 2.363 MB / 0.644 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/0.5379, allocations: 82.08 kB / 0.644 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/0.5379, allocations: 18.72 kB / 0.6441 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003688/0.5383, allocations: 252.5 kB / 0.6443 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002366/0.5386, allocations: 175.9 kB / 0.6445 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003523/0.5389, allocations: 228.7 kB / 0.6447 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.5389, allocations: 112 / 0.6447 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0005764/0.5395, allocations: 384 kB / 0.645 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.5395, allocations: 5.25 kB / 0.6451 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.5395, allocations: 2.625 kB / 0.6451 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/0.5395, allocations: 6.562 kB / 0.6451 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.5399, allocations: 103.8 kB / 0.6452 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.54, allocations: 7.031 kB / 0.6452 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.5405, allocations: 74.25 kB / 0.6452 GB, free: 19.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.5405, allocations: 13.12 kB / 0.6453 GB, free: 19.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.5406, allocations: 200.1 kB / 0.6454 GB, free: 19.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/0.5407, allocations: 66.66 kB / 0.6455 GB, free: 19.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000587/0.5413, allocations: 316.2 kB / 0.6458 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.5413, allocations: 0 / 0.6458 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.5413, allocations: 6.562 kB / 0.6458 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5414, allocations: 3.797 kB / 0.6458 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.5424, allocations: 0.8879 MB / 0.6467 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5424, allocations: 0 / 0.6467 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.5427, allocations: 70.06 kB / 0.6467 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5428, allocations: 2.688 kB / 0.6468 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.5428, allocations: 10.28 kB / 0.6468 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006206/0.5434, allocations: 2.356 MB / 0.6491 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5434, allocations: 2.656 kB / 0.6491 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.5439, allocations: 403.6 kB / 0.6495 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.544, allocations: 163.7 kB / 0.6496 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.5441, allocations: 12.94 kB / 0.6496 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.5445, allocations: 47.83 kB / 0.6497 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.5445, allocations: 19.41 kB / 0.6497 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.5446, allocations: 10.94 kB / 0.6497 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004566/0.545, allocations: 481.6 kB / 0.6502 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.545, allocations: 0 / 0.6502 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008044/0.5458, allocations: 343.8 kB / 0.6505 GB, free: 15.6 MB / 0.4981 GB 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004765/0.5463, allocations: 253.9 kB / 0.6507 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.5479, allocations: 498.9 kB / 0.6512 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5479, allocations: 0 / 0.6512 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.5483, allocations: 134.2 kB / 0.6513 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.5502, allocations: 366.8 kB / 0.6517 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.5521, allocations: 1.41 MB / 0.6531 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.5525, allocations: 0.9352 MB / 0.654 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.5526, allocations: 53.16 kB / 0.654 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.5526, allocations: 0 / 0.654 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.02955/0.5822, allocations: 22.12 MB / 0.6756 GB, free: 7.969 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)