Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009042/0.0009042, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008603/0.008604, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.476/1.476, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8161/0.8161, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003673, allocations: 8 kB / 0.504 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4632, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1593/0.6226, allocations: 151 MB / 0.7312 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04317/0.6658, allocations: 30.12 MB / 0.7606 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009016/0.6748, allocations: 123.1 kB / 0.7607 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004442/0.6793, allocations: 0.8077 MB / 0.7615 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.6903, allocations: 2.9 MB / 0.7643 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006693/0.697, allocations: 2.295 MB / 0.7666 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.7071, allocations: 7.385 MB / 0.7738 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003972/0.7111, allocations: 1.854 MB / 0.7756 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006461/0.7176, allocations: 2.364 MB / 0.7779 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004257/0.7218, allocations: 1.91 MB / 0.7798 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009639/0.7228, allocations: 92 kB / 0.7799 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.7259, allocations: 0.9359 MB / 0.7808 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.727, allocations: 437.8 kB / 0.7812 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002477/0.7295, allocations: 1.148 MB / 0.7823 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005726/0.7353, allocations: 3.126 MB / 0.7854 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.7353, allocations: 0 / 0.7854 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7353, allocations: 0 / 0.7854 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001431/0.7355, allocations: 4 kB / 0.7854 GB, free: 1.273 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.006814/0.7423, allocations: 2.348 MB / 0.7877 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.7424, allocations: 12.03 kB / 0.7877 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000885/0.7433, allocations: 260.8 kB / 0.7879 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003623/0.7469, allocations: 1.446 MB / 0.7893 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.7471, allocations: 102.3 kB / 0.7894 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000488/0.7476, allocations: 140 kB / 0.7896 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/0.7505, allocations: 1.163 MB / 0.7907 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.7505, allocations: 3.984 kB / 0.7907 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.7507, allocations: 48 kB / 0.7907 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.7507, allocations: 28 kB / 0.7908 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.7529, allocations: 1.02 MB / 0.7918 GB, free: 10.54 MB / 0.6231 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.01221/0.7651, allocations: 6.355 MB / 0.798 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.7662, allocations: 0.5753 MB / 0.7985 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.7669, allocations: 386.4 kB / 0.7989 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004543/0.7674, allocations: 0.5031 MB / 0.7994 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.7675, allocations: 43.12 kB / 0.7994 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002015/0.7695, allocations: 342.7 kB / 0.7998 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 6.533e-06/0.7696, allocations: 0 / 0.7998 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.002887/0.7725, allocations: 1.144 MB / 0.8009 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.7725, allocations: 55.97 kB / 0.8009 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004467/0.777, allocations: 1.896 MB / 0.8028 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.7773, allocations: 45.7 kB / 0.8028 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.7785, allocations: 0.9107 MB / 0.8037 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.7788, allocations: 205.1 kB / 0.8039 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.7792, allocations: 121.6 kB / 0.804 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.7793, allocations: 357.9 kB / 0.8044 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.7804, allocations: 430.4 kB / 0.8048 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.7816, allocations: 0.6855 MB / 0.8055 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.7834, allocations: 0.9696 MB / 0.8064 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.7834, allocations: 0 / 0.8064 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003038/0.7865, allocations: 1.408 MB / 0.8078 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.7867, allocations: 198.1 kB / 0.808 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.7867, allocations: 3.984 kB / 0.808 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.7867, allocations: 16 kB / 0.808 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.788, allocations: 287.6 kB / 0.8083 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-05/0.788, allocations: 11.98 kB / 0.8083 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.7902, allocations: 151.6 kB / 0.8084 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.7904, allocations: 59.95 kB / 0.8085 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.7904, allocations: 4 kB / 0.8085 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002172/0.7926, allocations: 1.155 MB / 0.8096 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.7926, allocations: 7.984 kB / 0.8096 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.7926, allocations: 8 kB / 0.8096 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.7938, allocations: 279.6 kB / 0.8099 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.683e-05/0.7938, allocations: 11.94 kB / 0.8099 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.7958, allocations: 163.6 kB / 0.8101 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.7959, allocations: 55.97 kB / 0.8101 GB, free: 6.898 MB / 0.6387 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.0009416/0.7969, allocations: 444.8 kB / 0.8105 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005459/0.7974, allocations: 201.4 kB / 0.8107 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.7999, allocations: 1.076 MB / 0.8118 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.8, allocations: 11.98 kB / 0.8118 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.8, allocations: 3.938 kB / 0.8118 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.8, allocations: 3.984 kB / 0.8118 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004541/0.8045, allocations: 2.421 MB / 0.8142 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.8046, allocations: 0 / 0.8142 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.8051, allocations: 139.8 kB / 0.8143 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.8052, allocations: 4 kB / 0.8143 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.8052, allocations: 19.98 kB / 0.8143 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.8052, allocations: 4 kB / 0.8143 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8052, allocations: 3.938 kB / 0.8143 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.8069, allocations: 1.07 MB / 0.8154 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009155/0.8078, allocations: 374.2 kB / 0.8157 GB, free: 1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.8083, allocations: 20 kB / 0.8157 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.8095, allocations: 99.66 kB / 0.8158 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.8097, allocations: 52.53 kB / 0.8159 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.8097, allocations: 23.98 kB / 0.8159 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.3561/1.166, allocations: 1.242 MB / 0.8171 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.91e-07/1.166, allocations: 0.5 kB / 0.8171 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002889/1.169, allocations: 0.9058 MB / 0.818 GB, free: 216.2 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.0007355/1.17, allocations: 339.4 kB / 0.8183 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002999/1.173, allocations: 1.619 MB / 0.8199 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.173, allocations: 1.312 kB / 0.8199 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006285/1.173, allocations: 404.3 kB / 0.8203 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006247/1.179, allocations: 1.142 MB / 0.8214 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/1.184, allocations: 3.721 MB / 0.825 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009459/1.185, allocations: 1.411 MB / 0.8264 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002175/1.188, allocations: 401 kB / 0.8268 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/1.188, allocations: 162.7 kB / 0.827 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/1.188, allocations: 0 / 0.827 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.05546/1.244, allocations: 37.06 MB / 0.8632 GB, free: 187.6 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)