Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Simplified.Examples.ThreeWayValveMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001285/0.001285, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001335/0.001335, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.276/1.276, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.775/0.775, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 62.81 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1394, allocations: 80.2 MB / 0.6604 GB, free: 10.39 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.08996/0.2294, allocations: 85.51 MB / 0.7439 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3247/0.5541, allocations: 13.92 MB / 0.7575 GB, free: 25.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003757/0.5579, allocations: 77.56 kB / 0.7575 GB, free: 25.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003489/0.5614, allocations: 0.8766 MB / 0.7584 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005947/0.5674, allocations: 1.814 MB / 0.7602 GB, free: 25.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005205/0.5726, allocations: 1.674 MB / 0.7618 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007074/0.5797, allocations: 3.294 MB / 0.765 GB, free: 25.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002754/0.5825, allocations: 1.272 MB / 0.7663 GB, free: 25.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004059/0.5866, allocations: 1.518 MB / 0.7677 GB, free: 25.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.5886, allocations: 1.006 MB / 0.7687 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004588/0.5891, allocations: 119.9 kB / 0.7688 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.5924, allocations: 1.211 MB / 0.77 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006264/0.593, allocations: 390.6 kB / 0.7704 GB, free: 25.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.5948, allocations: 0.7167 MB / 0.7711 GB, free: 25.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004646/0.5995, allocations: 2.451 MB / 0.7735 GB, free: 24.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5995, allocations: 3.188 kB / 0.7735 GB, free: 24.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5995, allocations: 4.906 kB / 0.7735 GB, free: 24.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.934e-05/0.5996, allocations: 0 / 0.7735 GB, free: 24.9 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.002867/0.6024, allocations: 1.785 MB / 0.7752 GB, free: 23.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.6025, allocations: 8.781 kB / 0.7752 GB, free: 23.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.6041, allocations: 333.2 kB / 0.7756 GB, free: 23.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.6062, allocations: 1.174 MB / 0.7767 GB, free: 23.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.6062, allocations: 63.78 kB / 0.7768 GB, free: 23.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.6063, allocations: 80.39 kB / 0.7768 GB, free: 23.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.608, allocations: 0.9189 MB / 0.7777 GB, free: 23.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.6081, allocations: 3 kB / 0.7777 GB, free: 23.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/0.6082, allocations: 30.5 kB / 0.7778 GB, free: 23.35 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.6082, allocations: 17.81 kB / 0.7778 GB, free: 23.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.6099, allocations: 0.7645 MB / 0.7785 GB, free: 23.34 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.005548/0.6155, allocations: 4.419 MB / 0.7828 GB, free: 20.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.6167, allocations: 451.3 kB / 0.7833 GB, free: 20.76 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004706/0.6171, allocations: 233.3 kB / 0.7835 GB, free: 20.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002123/0.6193, allocations: 2.028 MB / 0.7855 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.6193, allocations: 36.28 kB / 0.7855 GB, free: 18.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004008/0.6197, allocations: 92.92 kB / 0.7856 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/0.6197, allocations: 0 / 0.7856 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001758/0.6215, allocations: 0.7238 MB / 0.7863 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.6215, allocations: 58 kB / 0.7864 GB, free: 18.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.6233, allocations: 1.254 MB / 0.7876 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.369e-05/0.6234, allocations: 36.58 kB / 0.7876 GB, free: 18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.6237, allocations: 0.5767 MB / 0.7882 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/0.6238, allocations: 129.5 kB / 0.7883 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.624, allocations: 144.9 kB / 0.7885 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.6241, allocations: 329.6 kB / 0.7888 GB, free: 17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/0.6247, allocations: 269.4 kB / 0.789 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/0.6255, allocations: 0.4935 MB / 0.7895 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.6267, allocations: 0.7093 MB / 0.7902 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6267, allocations: 2.438 kB / 0.7902 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001735/0.6284, allocations: 0.8796 MB / 0.7911 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.6285, allocations: 12.41 kB / 0.7911 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6285, allocations: 6.281 kB / 0.7911 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.6285, allocations: 11.16 kB / 0.7911 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.6292, allocations: 171.3 kB / 0.7913 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.6292, allocations: 11.45 kB / 0.7913 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/0.6301, allocations: 76.83 kB / 0.7913 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.6302, allocations: 40.28 kB / 0.7914 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008558/0.631, allocations: 489.1 kB / 0.7918 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006551/0.6317, allocations: 485.1 kB / 0.7923 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001002/0.6327, allocations: 0.6511 MB / 0.7929 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.6327, allocations: 10.47 kB / 0.7929 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001541/0.6343, allocations: 0.8317 MB / 0.7938 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.6343, allocations: 8.438 kB / 0.7938 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6343, allocations: 5.438 kB / 0.7938 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.6343, allocations: 8.75 kB / 0.7938 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.6349, allocations: 163.2 kB / 0.7939 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.6349, allocations: 17.5 kB / 0.794 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.6357, allocations: 68.84 kB / 0.794 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.6357, allocations: 41.16 kB / 0.7941 GB, free: 13.93 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.0001532/0.6359, allocations: 218.7 kB / 0.7943 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.6361, allocations: 124.3 kB / 0.7944 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.6378, allocations: 0.9149 MB / 0.7953 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.6378, allocations: 11.08 kB / 0.7953 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6378, allocations: 5.344 kB / 0.7953 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.6382, allocations: 275.4 kB / 0.7956 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.6384, allocations: 10.44 kB / 0.7956 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.6389, allocations: 42.14 kB / 0.7956 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.639, allocations: 32.95 kB / 0.7956 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00138/0.6404, allocations: 0.7187 MB / 0.7963 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001268/0.6417, allocations: 0.8902 MB / 0.7972 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004882/0.6422, allocations: 295.6 kB / 0.7975 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001035/0.6432, allocations: 0.8597 MB / 0.7983 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of Backend: time 5.31e-07/0.6432, allocations: 7.875 kB / 0.7983 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003244/0.6465, allocations: 1.233 MB / 0.7995 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00423/0.6507, allocations: 2.867 MB / 0.8023 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of Templates: time 0.04366/0.6944, allocations: 30.92 MB / 0.8325 GB, free: 13.88 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe 2>&1)