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.0008849/0.0008851, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001368/0.001368, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.998/0.998, allocations: 135.3 MB / 426.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 11.94 kB / 0.507 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.198, allocations: 82.31 MB / 0.5874 GB, free: 3.027 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.4061/0.6042, allocations: 60.81 MB / 0.6468 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.6212, allocations: 13.06 MB / 0.6595 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003395/0.6247, allocations: 63.84 kB / 0.6596 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.6273, allocations: 0.5793 MB / 0.6602 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004649/0.632, allocations: 1.49 MB / 0.6616 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.6358, allocations: 1.28 MB / 0.6629 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006197/0.642, allocations: 3.807 MB / 0.6666 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.6445, allocations: 0.9453 MB / 0.6675 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.6487, allocations: 1.225 MB / 0.6687 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.6511, allocations: 0.9483 MB / 0.6696 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.6513, allocations: 53.94 kB / 0.6697 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.6545, allocations: 0.8824 MB / 0.6705 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000504/0.655, allocations: 310.8 kB / 0.6708 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005981/0.6556, allocations: 294.1 kB / 0.6711 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003257/0.6589, allocations: 1.735 MB / 0.6728 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6589, allocations: 0 / 0.6728 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6589, allocations: 0 / 0.6728 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.795e-05/0.6589, allocations: 1.938 kB / 0.6728 GB, free: 2.277 MB / 0.4981 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.003482/0.6624, allocations: 1.568 MB / 0.6743 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.6625, allocations: 9.703 kB / 0.6744 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.6643, allocations: 350.9 kB / 0.6747 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.667, allocations: 1.109 MB / 0.6758 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.6674, allocations: 131.8 kB / 0.6759 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.6675, allocations: 76.97 kB / 0.676 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.6698, allocations: 0.9418 MB / 0.6769 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.6699, allocations: 9.078 kB / 0.6769 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.67, allocations: 30.83 kB / 0.6769 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.67, allocations: 17.38 kB / 0.6769 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.6724, allocations: 0.8352 MB / 0.6778 GB, free: 15.7 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.008339/0.6807, allocations: 4.41 MB / 0.6821 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.6822, allocations: 0.521 MB / 0.6826 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.6828, allocations: 263 kB / 0.6828 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003404/0.6862, allocations: 2.085 MB / 0.6849 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.6863, allocations: 40.52 kB / 0.6849 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006298/0.6869, allocations: 111.1 kB / 0.685 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=36): time 2.795e-06/0.6869, allocations: 0 / 0.685 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36): time 0.002072/0.689, allocations: 0.799 MB / 0.6858 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.6891, allocations: 56.19 kB / 0.6858 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/0.6912, allocations: 1.245 MB / 0.6871 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.6912, allocations: 36.92 kB / 0.6871 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005534/0.6918, allocations: 0.5731 MB / 0.6877 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.6919, allocations: 132.6 kB / 0.6878 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.692, allocations: 15.41 kB / 0.6878 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6921, allocations: 329.9 kB / 0.6881 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008035/0.6929, allocations: 287.8 kB / 0.6884 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009761/0.6939, allocations: 0.5232 MB / 0.6889 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.6948, allocations: 337.7 kB / 0.6892 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.6948, allocations: 1.156 kB / 0.6892 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002193/0.697, allocations: 0.9232 MB / 0.6901 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.6972, allocations: 287.5 kB / 0.6904 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.6972, allocations: 6.156 kB / 0.6904 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.6973, allocations: 11.03 kB / 0.6904 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.698, allocations: 180.5 kB / 0.6906 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.698, allocations: 16.09 kB / 0.6906 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.6994, allocations: 131.4 kB / 0.6907 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.6995, allocations: 38.97 kB / 0.6908 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.6995, allocations: 3.844 kB / 0.6908 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001606/0.7011, allocations: 0.7226 MB / 0.6915 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.7011, allocations: 6.969 kB / 0.6915 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.7012, allocations: 14.47 kB / 0.6915 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.7018, allocations: 174.2 kB / 0.6917 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.7018, allocations: 15.03 kB / 0.6917 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.703, allocations: 112.6 kB / 0.6918 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.7031, allocations: 38.27 kB / 0.6918 GB, free: 7.102 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008011/0.7039, allocations: 377.7 kB / 0.6922 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.7041, allocations: 124.9 kB / 0.6923 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.7063, allocations: 0.968 MB / 0.6932 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/0.7064, allocations: 13.33 kB / 0.6933 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.7064, allocations: 3.938 kB / 0.6933 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.7064, allocations: 6.625 kB / 0.6933 GB, free: 6.387 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 postOpt removeSimpleEquations (simulation): time 0.003658/0.7101, allocations: 1.887 MB / 0.6951 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.7101, allocations: 1.75 kB / 0.6951 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.7106, allocations: 106.3 kB / 0.6952 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.7106, allocations: 7.969 kB / 0.6952 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.7106, allocations: 19.28 kB / 0.6952 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.7107, allocations: 8.469 kB / 0.6952 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.7107, allocations: 2.906 kB / 0.6952 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.7128, allocations: 0.9058 MB / 0.6961 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008168/0.7136, allocations: 286.7 kB / 0.6964 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.7138, allocations: 13.27 kB / 0.6964 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007667/0.7146, allocations: 77.91 kB / 0.6965 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.7147, allocations: 41.7 kB / 0.6965 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.209e-05/0.7148, allocations: 21.95 kB / 0.6965 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00182/0.7166, allocations: 0.8617 MB / 0.6974 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7166, allocations: 0 / 0.6974 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002846/0.7195, allocations: 0.5941 MB / 0.698 GB, free: 4.234 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00132/0.7208, allocations: 434.3 kB / 0.6984 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.7236, allocations: 1.059 MB / 0.6994 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.7236, allocations: 1.156 kB / 0.6994 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007601/0.7244, allocations: 345.1 kB / 0.6997 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/0.7278, allocations: 0.6763 MB / 0.7004 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.7323, allocations: 2.423 MB / 0.7028 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008452/0.7332, allocations: 1.146 MB / 0.7039 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00155/0.7348, allocations: 321.6 kB / 0.7042 GB, free: 472 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.735, allocations: 115.5 kB / 0.7043 GB, free: 440 kB / 0.5137 GB Notification: Performance of SimCode: time 1.292e-06/0.735, allocations: 0 / 0.7043 GB, free: 440 kB / 0.5137 GB Notification: Performance of Templates: time 0.05056/0.7856, allocations: 25.88 MB / 0.7296 GB, free: 10.39 MB / 0.545 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)