Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009174/0.009174, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.571/1.571, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.132/1.132, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003799, allocations: 8.656 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2225, allocations: 82.31 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5545/0.7771, allocations: 151 MB / 0.7355 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04696/0.8241, allocations: 30.13 MB / 0.7649 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007229/0.8314, allocations: 119.2 kB / 0.765 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003522/0.8349, allocations: 0.8233 MB / 0.7658 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.8475, allocations: 2.896 MB / 0.7686 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007836/0.8553, allocations: 2.295 MB / 0.7709 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01166/0.867, allocations: 7.384 MB / 0.7781 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003746/0.8708, allocations: 1.847 MB / 0.7799 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007155/0.878, allocations: 2.368 MB / 0.7822 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004262/0.8823, allocations: 1.902 MB / 0.784 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004637/0.8828, allocations: 96 kB / 0.7841 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.8856, allocations: 0.9358 MB / 0.7851 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005278/0.8862, allocations: 445.9 kB / 0.7855 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.8879, allocations: 1.151 MB / 0.7866 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003962/0.8918, allocations: 3.118 MB / 0.7896 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8919, allocations: 0 / 0.7896 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8919, allocations: 0 / 0.7896 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.851e-05/0.8919, allocations: 0 / 0.7896 GB, free: 13.59 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004532/0.8965, allocations: 2.351 MB / 0.7919 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.8965, allocations: 12.03 kB / 0.792 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004044/0.8969, allocations: 260.8 kB / 0.7922 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.8991, allocations: 1.446 MB / 0.7936 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.991e-05/0.8992, allocations: 106.3 kB / 0.7937 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.8994, allocations: 144 kB / 0.7939 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.9016, allocations: 1.167 MB / 0.795 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.9016, allocations: 0 / 0.795 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.9017, allocations: 48 kB / 0.795 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.9018, allocations: 28 kB / 0.7951 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.9037, allocations: 1.02 MB / 0.7961 GB, free: 6.852 MB / 0.6075 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.01198/0.9157, allocations: 6.358 MB / 0.8023 GB, free: 36 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.9171, allocations: 0.5688 MB / 0.8028 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008269/0.918, allocations: 392.6 kB / 0.8032 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005282/0.9185, allocations: 0.507 MB / 0.8037 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.9185, allocations: 43.06 kB / 0.8037 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002437/0.921, allocations: 334.7 kB / 0.8041 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 7.223e-06/0.921, allocations: 0 / 0.8041 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.003776/0.9248, allocations: 1.137 MB / 0.8052 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.9249, allocations: 63.84 kB / 0.8052 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/0.9288, allocations: 1.892 MB / 0.8071 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002967/0.9292, allocations: 49.7 kB / 0.8071 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.9305, allocations: 0.9262 MB / 0.808 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.9309, allocations: 201.1 kB / 0.8082 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.9311, allocations: 117.6 kB / 0.8083 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.9313, allocations: 349.9 kB / 0.8087 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.9325, allocations: 442.4 kB / 0.8091 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.934, allocations: 0.6879 MB / 0.8098 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.9362, allocations: 0.9618 MB / 0.8107 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.9362, allocations: 0 / 0.8107 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003804/0.94, allocations: 1.404 MB / 0.8121 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.9402, allocations: 202.5 kB / 0.8123 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.9402, allocations: 0 / 0.8123 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/0.9403, allocations: 12 kB / 0.8123 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.9419, allocations: 287.5 kB / 0.8125 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/0.942, allocations: 8 kB / 0.8126 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.9444, allocations: 155.6 kB / 0.8127 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.9446, allocations: 59.95 kB / 0.8128 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.9446, allocations: 7.984 kB / 0.8128 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002936/0.9475, allocations: 1.147 MB / 0.8139 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.9476, allocations: 4 kB / 0.8139 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.9476, allocations: 8 kB / 0.8139 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.9493, allocations: 291.9 kB / 0.8142 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.9494, allocations: 11.98 kB / 0.8142 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/0.9522, allocations: 151.5 kB / 0.8143 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.9524, allocations: 59.95 kB / 0.8144 GB, free: 3.234 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00124/0.9536, allocations: 452.8 kB / 0.8148 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005416/0.9542, allocations: 201.4 kB / 0.815 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.957, allocations: 1.082 MB / 0.8161 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.9571, allocations: 11.98 kB / 0.8161 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.9571, allocations: 0 / 0.8161 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/0.9571, allocations: 7.922 kB / 0.8161 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/0.9626, allocations: 2.41 MB / 0.8184 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.9627, allocations: 3.938 kB / 0.8184 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008672/0.9636, allocations: 143.8 kB / 0.8186 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.9636, allocations: 4 kB / 0.8186 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.9637, allocations: 20.19 kB / 0.8186 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.9637, allocations: 8 kB / 0.8186 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.9637, allocations: 3.984 kB / 0.8186 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.9661, allocations: 1.054 MB / 0.8196 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.9672, allocations: 378.1 kB / 0.82 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003011/0.9675, allocations: 16 kB / 0.82 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.969, allocations: 103.7 kB / 0.8201 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.9692, allocations: 52.53 kB / 0.8202 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/0.9693, allocations: 31.92 kB / 0.8202 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002524/0.9718, allocations: 1.248 MB / 0.8214 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9718, allocations: 0 / 0.8214 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003169/0.975, allocations: 0.9043 MB / 0.8223 GB, free: 10.96 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008031/0.9758, allocations: 342.5 kB / 0.8226 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002898/0.9788, allocations: 1.613 MB / 0.8242 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.9788, allocations: 5.438 kB / 0.8242 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.9794, allocations: 407.9 kB / 0.8246 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006856/0.9863, allocations: 1.132 MB / 0.8257 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006185/0.9925, allocations: 3.725 MB / 0.8293 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.9937, allocations: 1.409 MB / 0.8307 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002277/0.996, allocations: 399.3 kB / 0.8311 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/0.9966, allocations: 163.4 kB / 0.8313 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of SimCode: time 1.553e-06/0.9967, allocations: 0 / 0.8313 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of Templates: time 0.3539/1.351, allocations: 37.06 MB / 0.8674 GB, free: 215.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)