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.001457/0.001457, allocations: 103.7 kB / 16.27 MB, free: 6.418 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.001437/0.001437, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8276/0.8276, allocations: 135.2 MB / 426.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 71.89 kB / 0.5061 GB, free: 8.289 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3259, allocations: 80.92 MB / 0.5851 GB, free: 25.25 MB / 446.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.09046/0.4164, allocations: 85.96 MB / 0.669 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02251/0.4389, allocations: 13.94 MB / 0.6826 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.4425, allocations: 75.56 kB / 0.6827 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.4454, allocations: 0.8736 MB / 0.6836 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004901/0.4503, allocations: 1.767 MB / 0.6853 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00408/0.4544, allocations: 1.644 MB / 0.6869 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004753/0.4592, allocations: 3.293 MB / 0.6901 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.461, allocations: 1.259 MB / 0.6913 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.4644, allocations: 1.496 MB / 0.6928 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.4657, allocations: 1.003 MB / 0.6938 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.4659, allocations: 120 kB / 0.6939 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.4684, allocations: 1.201 MB / 0.6951 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.4689, allocations: 394.7 kB / 0.6954 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008265/0.4697, allocations: 0.7268 MB / 0.6961 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00326/0.473, allocations: 2.411 MB / 0.6985 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.473, allocations: 0 / 0.6985 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.654e-06/0.473, allocations: 0 / 0.6985 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.473, allocations: 0 / 0.6985 GB, free: 6.352 MB / 0.5294 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.002853/0.4759, allocations: 1.795 MB / 0.7003 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4759, allocations: 13.05 kB / 0.7003 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.4776, allocations: 330.8 kB / 0.7006 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.4796, allocations: 1.116 MB / 0.7017 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/0.4799, allocations: 121.9 kB / 0.7018 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.4801, allocations: 76 kB / 0.7019 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.4818, allocations: 0.9206 MB / 0.7028 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4818, allocations: 0 / 0.7028 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/0.4819, allocations: 32 kB / 0.7028 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.4819, allocations: 16 kB / 0.7028 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.4838, allocations: 0.7768 MB / 0.7036 GB, free: 1.027 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 preOpt removeSimpleEquations (simulation): time 0.006245/0.49, allocations: 4.461 MB / 0.7079 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.4913, allocations: 442.9 kB / 0.7083 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.4918, allocations: 244.4 kB / 0.7086 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002535/0.4943, allocations: 2.032 MB / 0.7106 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.4944, allocations: 30.56 kB / 0.7106 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000402/0.4948, allocations: 95.25 kB / 0.7107 GB, free: 9.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 2.434e-06/0.4948, allocations: 0 / 0.7107 GB, free: 9.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.001864/0.4967, allocations: 0.7225 MB / 0.7114 GB, free: 8.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.4967, allocations: 59.41 kB / 0.7114 GB, free: 8.379 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.4985, allocations: 1.256 MB / 0.7127 GB, free: 7.109 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.4986, allocations: 33.7 kB / 0.7127 GB, free: 7.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005428/0.4991, allocations: 0.5834 MB / 0.7133 GB, free: 6.484 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.4993, allocations: 126.2 kB / 0.7134 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.4995, allocations: 146 kB / 0.7135 GB, free: 6.211 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4996, allocations: 330 kB / 0.7138 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/0.5004, allocations: 274.9 kB / 0.7141 GB, free: 5.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009413/0.5013, allocations: 0.4986 MB / 0.7146 GB, free: 5.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.5028, allocations: 0.7147 MB / 0.7153 GB, free: 4.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.5028, allocations: 4 kB / 0.7153 GB, free: 4.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002032/0.5048, allocations: 0.8824 MB / 0.7162 GB, free: 3.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5049, allocations: 8.188 kB / 0.7162 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.5049, allocations: 12.09 kB / 0.7162 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.5049, allocations: 15.94 kB / 0.7162 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.5056, allocations: 163.7 kB / 0.7163 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.5057, allocations: 11.94 kB / 0.7164 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008691/0.5065, allocations: 88.58 kB / 0.7164 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.5066, allocations: 39.97 kB / 0.7165 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009822/0.5076, allocations: 489 kB / 0.7169 GB, free: 2.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008703/0.5085, allocations: 486.3 kB / 0.7174 GB, free: 1.926 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001294/0.5098, allocations: 0.6644 MB / 0.7181 GB, free: 1.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.91e-06/0.5098, allocations: 4 kB / 0.7181 GB, free: 1.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001816/0.5116, allocations: 0.8429 MB / 0.7189 GB, free: 324 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5117, allocations: 14.02 kB / 0.7189 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5117, allocations: 11.98 kB / 0.7189 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5117, allocations: 11.94 kB / 0.7189 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/0.5123, allocations: 163.9 kB / 0.7191 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.5123, allocations: 15.94 kB / 0.7191 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008028/0.5131, allocations: 80.58 kB / 0.7192 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/0.5132, allocations: 32.03 kB / 0.7192 GB, free: 15.99 MB / 0.5606 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.0002184/0.5135, allocations: 221.3 kB / 0.7194 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.5137, allocations: 130.3 kB / 0.7195 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.5157, allocations: 0.9202 MB / 0.7204 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.5157, allocations: 8 kB / 0.7204 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5158, allocations: 0 / 0.7204 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5158, allocations: 3.984 kB / 0.7204 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.5187, allocations: 1.785 MB / 0.7222 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5187, allocations: 4 kB / 0.7222 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.5192, allocations: 96.06 kB / 0.7223 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.5192, allocations: 4 kB / 0.7223 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.5193, allocations: 19.98 kB / 0.7223 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.5193, allocations: 7.984 kB / 0.7223 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5193, allocations: 4 kB / 0.7223 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.5208, allocations: 0.8593 MB / 0.7232 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/0.5212, allocations: 283.2 kB / 0.7234 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.5214, allocations: 15.98 kB / 0.7234 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/0.522, allocations: 39.97 kB / 0.7235 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.522, allocations: 43.83 kB / 0.7235 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.5221, allocations: 23.98 kB / 0.7235 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00126/0.5234, allocations: 0.871 MB / 0.7244 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5234, allocations: 4 kB / 0.7244 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001552/0.5249, allocations: 0.5929 MB / 0.725 GB, free: 9.93 MB / 0.5606 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 (52): * Single equations (assignments): 43 * 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.0009703/0.5259, allocations: 469.3 kB / 0.7254 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00253/0.5285, allocations: 1.037 MB / 0.7264 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.5285, allocations: 4 kB / 0.7264 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006673/0.5292, allocations: 322 kB / 0.7268 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.5322, allocations: 0.7161 MB / 0.7275 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.5355, allocations: 2.074 MB / 0.7295 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00077/0.5363, allocations: 1.137 MB / 0.7306 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.5366, allocations: 123.4 kB / 0.7307 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of SimCode: time 4.6e-07/0.5366, allocations: 0 / 0.7307 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.2634/0.8001, allocations: 23.29 MB / 0.7534 GB, free: 151.9 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)