Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.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.Simplified.Examples.ThreeWayValveMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor") translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 108.9 kB / 16.41 MB, free: 6.516 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.001389/0.001389, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7634/0.7634, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 71.55 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1447, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpFlow1.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:202:5-202:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:202:5-202:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor): time 0.08521/0.23, allocations: 85.48 MB / 0.7488 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3954/0.6254, allocations: 13.93 MB / 0.7624 GB, free: 26.01 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003696/0.6291, allocations: 75.19 kB / 0.7625 GB, free: 26.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.6323, allocations: 0.8772 MB / 0.7633 GB, free: 26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006325/0.6386, allocations: 1.811 MB / 0.7651 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00547/0.6441, allocations: 1.671 MB / 0.7667 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006683/0.6508, allocations: 3.297 MB / 0.7699 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002771/0.6536, allocations: 1.272 MB / 0.7712 GB, free: 25.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004358/0.658, allocations: 1.53 MB / 0.7727 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.6604, allocations: 0.9999 MB / 0.7737 GB, free: 25.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006851/0.6611, allocations: 119.6 kB / 0.7738 GB, free: 25.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004562/0.6657, allocations: 1.214 MB / 0.775 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007954/0.6665, allocations: 384.5 kB / 0.7753 GB, free: 25.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002041/0.6685, allocations: 0.7247 MB / 0.776 GB, free: 25.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005634/0.6742, allocations: 2.449 MB / 0.7784 GB, free: 24.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6742, allocations: 1.594 kB / 0.7784 GB, free: 24.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6742, allocations: 0 / 0.7784 GB, free: 24.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.368e-05/0.6743, allocations: 1.188 kB / 0.7784 GB, free: 24.65 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.004424/0.6787, allocations: 1.786 MB / 0.7802 GB, free: 23.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.6788, allocations: 9.984 kB / 0.7802 GB, free: 23.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.6805, allocations: 333.2 kB / 0.7805 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.6827, allocations: 1.178 MB / 0.7817 GB, free: 22.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.6828, allocations: 64.97 kB / 0.7817 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.6829, allocations: 75.84 kB / 0.7818 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.6846, allocations: 0.9186 MB / 0.7827 GB, free: 22.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6846, allocations: 1.156 kB / 0.7827 GB, free: 22.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.6847, allocations: 34.34 kB / 0.7827 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.6847, allocations: 18.53 kB / 0.7827 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.6863, allocations: 0.768 MB / 0.7835 GB, free: 22.01 MB / 0.5762 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.005579/0.6919, allocations: 4.418 MB / 0.7878 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.6931, allocations: 461.5 kB / 0.7882 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004575/0.6935, allocations: 229.8 kB / 0.7885 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002151/0.6957, allocations: 2.014 MB / 0.7904 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.6957, allocations: 35.81 kB / 0.7905 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004123/0.6962, allocations: 96.8 kB / 0.7906 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.6962, allocations: 0 / 0.7906 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001597/0.6978, allocations: 0.7253 MB / 0.7913 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.6978, allocations: 55.97 kB / 0.7913 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.6992, allocations: 1.254 MB / 0.7925 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.6992, allocations: 32.7 kB / 0.7926 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.6996, allocations: 0.5802 MB / 0.7931 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.6997, allocations: 128.1 kB / 0.7933 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.6999, allocations: 145.8 kB / 0.7934 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.6999, allocations: 335.3 kB / 0.7937 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.7006, allocations: 271.4 kB / 0.794 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007434/0.7013, allocations: 0.4958 MB / 0.7945 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.7025, allocations: 0.7123 MB / 0.7952 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7025, allocations: 2.781 kB / 0.7952 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00184/0.7044, allocations: 0.8812 MB / 0.796 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7044, allocations: 8.25 kB / 0.796 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7044, allocations: 7.688 kB / 0.796 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.7045, allocations: 14.59 kB / 0.796 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.7051, allocations: 171.6 kB / 0.7962 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.7051, allocations: 8 kB / 0.7962 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009226/0.706, allocations: 68.5 kB / 0.7963 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.7061, allocations: 43.03 kB / 0.7963 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008401/0.707, allocations: 492.5 kB / 0.7968 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006276/0.7076, allocations: 476.8 kB / 0.7973 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009868/0.7086, allocations: 0.6584 MB / 0.7979 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.7086, allocations: 3.312 kB / 0.7979 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001521/0.7101, allocations: 0.8298 MB / 0.7987 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.7102, allocations: 7.75 kB / 0.7987 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7102, allocations: 8.344 kB / 0.7987 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.7102, allocations: 11.92 kB / 0.7987 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.7107, allocations: 163.7 kB / 0.7989 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.7108, allocations: 18.72 kB / 0.7989 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000884/0.7116, allocations: 73.06 kB / 0.799 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.7117, allocations: 40.19 kB / 0.799 GB, free: 11.19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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: 1 * 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.0001872/0.7119, allocations: 216.1 kB / 0.7992 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.7121, allocations: 124.3 kB / 0.7993 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.7138, allocations: 0.9113 MB / 0.8002 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.7138, allocations: 7.922 kB / 0.8002 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7138, allocations: 0 / 0.8002 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.7142, allocations: 286.9 kB / 0.8005 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.7144, allocations: 14.3 kB / 0.8005 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.7149, allocations: 38.41 kB / 0.8006 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.715, allocations: 32.97 kB / 0.8006 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00135/0.7164, allocations: 0.7199 MB / 0.8013 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001244/0.7176, allocations: 0.8883 MB / 0.8022 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00049/0.7181, allocations: 301.9 kB / 0.8025 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00108/0.7192, allocations: 0.8623 MB / 0.8033 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of Backend: time 2.71e-07/0.7192, allocations: 192 / 0.8033 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003261/0.7225, allocations: 1.239 MB / 0.8045 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004165/0.7267, allocations: 2.856 MB / 0.8073 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of Templates: time 0.04466/0.7713, allocations: 30.92 MB / 0.8375 GB, free: 10.08 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe 2>&1)