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.0009841/0.0009843, allocations: 98.19 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.008886/0.008886, allocations: 171 kB / 16.27 MB, free: 6.332 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.135/1.135, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005256, allocations: 8 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1924, allocations: 82.3 MB / 0.588 GB, free: 2.613 MB / 494.1 MB [/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.469/0.6614, allocations: 83.88 MB / 0.6699 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03217/0.6936, allocations: 13.84 MB / 0.6834 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005311/0.699, allocations: 65.44 kB / 0.6835 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003895/0.7029, allocations: 0.7406 MB / 0.6842 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008182/0.7111, allocations: 1.641 MB / 0.6858 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007188/0.7183, allocations: 1.496 MB / 0.6873 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.7285, allocations: 4.502 MB / 0.6917 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003674/0.7322, allocations: 1.059 MB / 0.6927 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00583/0.738, allocations: 1.293 MB / 0.694 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003491/0.7416, allocations: 0.9827 MB / 0.6949 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007253/0.7423, allocations: 54.91 kB / 0.695 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005065/0.7474, allocations: 1.139 MB / 0.6961 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.7486, allocations: 317.8 kB / 0.6964 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00294/0.7516, allocations: 0.6726 MB / 0.697 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008344/0.76, allocations: 2.323 MB / 0.6993 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.76, allocations: 0 / 0.6993 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.835e-06/0.76, allocations: 0 / 0.6993 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001319/0.7602, allocations: 0 / 0.6993 GB, free: 7.051 MB / 0.5137 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.006261/0.7665, allocations: 1.54 MB / 0.7008 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.7666, allocations: 17.88 kB / 0.7008 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.769, allocations: 359.2 kB / 0.7012 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004421/0.7735, allocations: 1.168 MB / 0.7023 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004711/0.774, allocations: 126.5 kB / 0.7024 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.7743, allocations: 76 kB / 0.7025 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.7773, allocations: 0.9366 MB / 0.7034 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.7773, allocations: 0 / 0.7034 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/0.7774, allocations: 28 kB / 0.7034 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.7774, allocations: 20.66 kB / 0.7035 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.7797, allocations: 0.8059 MB / 0.7043 GB, free: 3.238 MB / 0.5137 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.009391/0.7891, allocations: 4.364 MB / 0.7085 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.7908, allocations: 487 kB / 0.709 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006511/0.7915, allocations: 248.6 kB / 0.7092 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003913/0.7954, allocations: 2.063 MB / 0.7112 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.7954, allocations: 41.14 kB / 0.7113 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007255/0.7962, allocations: 106.7 kB / 0.7114 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=36): time 7.795e-06/0.7962, allocations: 0 / 0.7114 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36): time 0.002159/0.7984, allocations: 0.7508 MB / 0.7121 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.7985, allocations: 59.41 kB / 0.7122 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.8009, allocations: 1.251 MB / 0.7134 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.801, allocations: 41.7 kB / 0.7134 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007712/0.8018, allocations: 0.5745 MB / 0.714 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.8019, allocations: 125.4 kB / 0.7141 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.802, allocations: 54.2 kB / 0.7142 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002683/0.8023, allocations: 332.7 kB / 0.7145 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007779/0.8031, allocations: 285.3 kB / 0.7147 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.8042, allocations: 0.5142 MB / 0.7152 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.8058, allocations: 0.7334 MB / 0.716 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8059, allocations: 4 kB / 0.716 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002446/0.8083, allocations: 0.9116 MB / 0.7169 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003393/0.8087, allocations: 285 kB / 0.7171 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.8087, allocations: 8 kB / 0.7171 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.8087, allocations: 12 kB / 0.7171 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008431/0.8096, allocations: 168.4 kB / 0.7173 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.8096, allocations: 18.8 kB / 0.7173 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.8109, allocations: 125.4 kB / 0.7174 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.271e-05/0.811, allocations: 42.09 kB / 0.7175 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/0.811, allocations: 4 kB / 0.7175 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001682/0.8127, allocations: 0.7255 MB / 0.7182 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.8127, allocations: 8 kB / 0.7182 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.8127, allocations: 11.94 kB / 0.7182 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.8134, allocations: 164.2 kB / 0.7184 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.8135, allocations: 22.03 kB / 0.7184 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.8146, allocations: 108.2 kB / 0.7185 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.8147, allocations: 34.05 kB / 0.7185 GB, free: 5.66 MB / 0.5294 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 (70): * Single equations (assignments): 69 * 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.00096/0.8157, allocations: 378.4 kB / 0.7189 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.8159, allocations: 126.5 kB / 0.719 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.8182, allocations: 0.9398 MB / 0.7199 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/0.8183, allocations: 15.94 kB / 0.7199 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.8183, allocations: 3.938 kB / 0.7199 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.8183, allocations: 3.984 kB / 0.72 GB, free: 4.371 MB / 0.5294 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 postOpt removeSimpleEquations (simulation): time 0.003867/0.8222, allocations: 1.827 MB / 0.7217 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.8222, allocations: 7.922 kB / 0.7217 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.8227, allocations: 95.88 kB / 0.7218 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.8227, allocations: 8.25 kB / 0.7218 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.8227, allocations: 19.98 kB / 0.7219 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.8227, allocations: 4 kB / 0.7219 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.8228, allocations: 4 kB / 0.7219 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.8245, allocations: 0.874 MB / 0.7227 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/0.8251, allocations: 291.1 kB / 0.723 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.8253, allocations: 12 kB / 0.723 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.826, allocations: 59.95 kB / 0.7231 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.8261, allocations: 43.81 kB / 0.7231 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.8261, allocations: 23.98 kB / 0.7231 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001451/0.8276, allocations: 0.8671 MB / 0.724 GB, free: 96 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.8276, allocations: 0 / 0.724 GB, free: 96 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00222/0.8298, allocations: 0.589 MB / 0.7246 GB, free: 15.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (53): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001171/0.831, allocations: 454.1 kB / 0.725 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.8336, allocations: 1.045 MB / 0.726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8336, allocations: 0 / 0.726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006746/0.8343, allocations: 333.6 kB / 0.7263 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/0.8381, allocations: 0.657 MB / 0.727 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.8426, allocations: 2.475 MB / 0.7294 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.8437, allocations: 1.149 MB / 0.7305 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001676/0.8454, allocations: 325.2 kB / 0.7308 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.8458, allocations: 115.3 kB / 0.7309 GB, free: 8.926 MB / 0.545 GB Notification: Performance of SimCode: time 1.282e-06/0.8458, allocations: 0 / 0.7309 GB, free: 8.926 MB / 0.545 GB Notification: Performance of Templates: time 0.05366/0.8995, allocations: 26.24 MB / 0.7566 GB, free: 15.02 MB / 0.5762 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)