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.008656/0.008656, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.002107/0.002107, allocations: 196.8 kB / 16.68 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.84 kB / 0.5856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4176, allocations: 80.9 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1568/0.5744, allocations: 154.4 MB / 0.8154 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04459/0.6191, allocations: 30.36 MB / 0.845 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008014/0.6271, allocations: 139.2 kB / 0.8452 GB, free: 8.242 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004444/0.6317, allocations: 1.047 MB / 0.8462 GB, free: 7.188 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.6418, allocations: 3.156 MB / 0.8493 GB, free: 4.02 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006343/0.6481, allocations: 2.517 MB / 0.8517 GB, free: 1.535 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008028/0.6562, allocations: 5.388 MB / 0.857 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003548/0.6597, allocations: 2.234 MB / 0.8592 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005891/0.6657, allocations: 2.688 MB / 0.8618 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003683/0.6694, allocations: 1.953 MB / 0.8637 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007149/0.6701, allocations: 216 kB / 0.8639 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.673, allocations: 1.096 MB / 0.865 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007283/0.6737, allocations: 0.5487 MB / 0.8655 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.6758, allocations: 1.271 MB / 0.8668 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4243/1.1, allocations: 3.337 MB / 0.87 GB, free: 50.83 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.1, allocations: 0 / 0.87 GB, free: 50.83 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.234e-06/1.1, allocations: 4.812 kB / 0.87 GB, free: 50.83 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001038/1.1, allocations: 0.5625 kB / 0.87 GB, free: 50.83 MB / 0.6856 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.005485/1.106, allocations: 2.87 MB / 0.8728 GB, free: 49.49 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.106, allocations: 13.75 kB / 0.8729 GB, free: 49.49 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/1.106, allocations: 274.2 kB / 0.8731 GB, free: 49.35 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/1.109, allocations: 1.533 MB / 0.8746 GB, free: 48.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.553e-05/1.109, allocations: 101.7 kB / 0.8747 GB, free: 48.81 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/1.109, allocations: 140.8 kB / 0.8748 GB, free: 48.81 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/1.112, allocations: 1.158 MB / 0.876 GB, free: 48.73 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/1.112, allocations: 0 / 0.876 GB, free: 48.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/1.112, allocations: 48.5 kB / 0.876 GB, free: 48.73 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/1.112, allocations: 28.31 kB / 0.876 GB, free: 48.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/1.114, allocations: 1.013 MB / 0.877 GB, free: 48.71 MB / 0.6856 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.009875/1.124, allocations: 6.334 MB / 0.8832 GB, free: 46.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.125, allocations: 0.573 MB / 0.8838 GB, free: 46.05 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006387/1.125, allocations: 387.4 kB / 0.8842 GB, free: 46.05 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/1.126, allocations: 0.5059 MB / 0.8846 GB, free: 45.48 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/1.126, allocations: 39.72 kB / 0.8847 GB, free: 45.45 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001464/1.127, allocations: 236.8 kB / 0.8849 GB, free: 45.39 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=58): time 4.198e-06/1.127, allocations: 0.9688 kB / 0.8849 GB, free: 45.39 MB / 0.6856 GB Notification: Performance of matching and sorting (n=58): time 0.00241/1.13, allocations: 1.173 MB / 0.8861 GB, free: 45.23 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/1.13, allocations: 63.89 kB / 0.8861 GB, free: 45.16 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/1.133, allocations: 1.894 MB / 0.888 GB, free: 44.93 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/1.133, allocations: 47.2 kB / 0.888 GB, free: 44.89 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000725/1.133, allocations: 0.9276 MB / 0.8889 GB, free: 44.62 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/1.134, allocations: 215.6 kB / 0.8891 GB, free: 44.48 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004381/1.134, allocations: 299.4 kB / 0.8894 GB, free: 44.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.136e-05/1.134, allocations: 358.2 kB / 0.8898 GB, free: 44.15 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007953/1.135, allocations: 461.9 kB / 0.8902 GB, free: 44.14 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.136, allocations: 0.6895 MB / 0.8909 GB, free: 43.92 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.138, allocations: 0.9798 MB / 0.8918 GB, free: 43.79 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.138, allocations: 1.188 kB / 0.8918 GB, free: 43.79 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003441/1.141, allocations: 1.436 MB / 0.8932 GB, free: 43.63 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/1.141, allocations: 6.25 kB / 0.8932 GB, free: 43.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/1.141, allocations: 3.156 kB / 0.8932 GB, free: 43.63 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.505e-05/1.141, allocations: 9.062 kB / 0.8932 GB, free: 43.63 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.143, allocations: 289.5 kB / 0.8935 GB, free: 43.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/1.143, allocations: 14.2 kB / 0.8935 GB, free: 43.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/1.145, allocations: 84.25 kB / 0.8936 GB, free: 43.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/1.145, allocations: 63.34 kB / 0.8937 GB, free: 43.62 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001878/1.147, allocations: 0.7189 MB / 0.8944 GB, free: 43.54 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001114/1.148, allocations: 0.6722 MB / 0.895 GB, free: 43.32 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001599/1.149, allocations: 0.9326 MB / 0.8959 GB, free: 43.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.372e-06/1.149, allocations: 8.469 kB / 0.896 GB, free: 43.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002853/1.152, allocations: 1.383 MB / 0.8973 GB, free: 43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.152, allocations: 9.75 kB / 0.8973 GB, free: 43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/1.152, allocations: 10.78 kB / 0.8973 GB, free: 43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.152, allocations: 10.58 kB / 0.8973 GB, free: 43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.154, allocations: 284.1 kB / 0.8976 GB, free: 43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/1.154, allocations: 8.625 kB / 0.8976 GB, free: 43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/1.156, allocations: 99.06 kB / 0.8977 GB, free: 42.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/1.156, allocations: 62.2 kB / 0.8978 GB, free: 42.99 MB / 0.6856 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.0003563/1.156, allocations: 234.6 kB / 0.898 GB, free: 42.81 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/1.157, allocations: 214.9 kB / 0.8982 GB, free: 42.69 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/1.159, allocations: 1.094 MB / 0.8993 GB, free: 42.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/1.159, allocations: 10.44 kB / 0.8993 GB, free: 42.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.159, allocations: 1 kB / 0.8993 GB, free: 42.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.159, allocations: 3.938 kB / 0.8993 GB, free: 42.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/1.163, allocations: 2.444 MB / 0.9017 GB, free: 42.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.163, allocations: 3.812 kB / 0.9017 GB, free: 42.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/1.163, allocations: 139 kB / 0.9018 GB, free: 42.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/1.163, allocations: 4.5 kB / 0.9018 GB, free: 42.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/1.163, allocations: 25.42 kB / 0.9018 GB, free: 42.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/1.163, allocations: 5.438 kB / 0.9018 GB, free: 42.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.163, allocations: 2.875 kB / 0.9018 GB, free: 42.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/1.165, allocations: 1.079 MB / 0.9029 GB, free: 41.89 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005706/1.165, allocations: 367.5 kB / 0.9032 GB, free: 41.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/1.166, allocations: 21.48 kB / 0.9033 GB, free: 41.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/1.166, allocations: 40.48 kB / 0.9033 GB, free: 41.67 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.166, allocations: 50.34 kB / 0.9033 GB, free: 41.67 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/1.166, allocations: 22.91 kB / 0.9034 GB, free: 41.67 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001491/1.168, allocations: 1.254 MB / 0.9046 GB, free: 41.52 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.168, allocations: 0 / 0.9046 GB, free: 41.52 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002144/1.17, allocations: 0.9043 MB / 0.9055 GB, free: 41.41 MB / 0.6856 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.0006508/1.171, allocations: 351.8 kB / 0.9058 GB, free: 41.28 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002619/1.173, allocations: 1.664 MB / 0.9074 GB, free: 41.26 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.173, allocations: 1.5 kB / 0.9074 GB, free: 41.26 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005559/1.174, allocations: 409.5 kB / 0.9078 GB, free: 41.25 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/1.178, allocations: 1.089 MB / 0.9089 GB, free: 41.09 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/1.182, allocations: 3.047 MB / 0.9119 GB, free: 39.84 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/1.183, allocations: 1.406 MB / 0.9132 GB, free: 39.08 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001669/1.185, allocations: 395 kB / 0.9136 GB, free: 38.98 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/1.185, allocations: 168.2 kB / 0.9138 GB, free: 38.97 MB / 0.6856 GB Notification: Performance of SimCode: time 1.383e-06/1.185, allocations: 0 / 0.9138 GB, free: 38.97 MB / 0.6856 GB Notification: Performance of Templates: time 0.0549/1.24, allocations: 38.59 MB / 0.9515 GB, free: 15.07 MB / 0.6856 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)