Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.GasComponents.TestFanMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestFanMech") translateModel(ThermoPower.Test.GasComponents.TestFanMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestFanMech") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 89.39 kB / 16.31 MB, free: 5.676 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.00101/0.00101, allocations: 177.7 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 223.4 MB, free: 13.02 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3774/0.3774, allocations: 48.78 MB / 320.4 MB, free: 11.2 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005759/0.0005761, allocations: 19.06 kB / 391.2 MB, free: 50.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1492, allocations: 60.27 MB / 451.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.5381/0.6873, allocations: 133.3 MB / 0.571 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005152/0.6925, allocations: 2.158 MB / 0.5731 GB, free: 308 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.6939, allocations: 14.34 kB / 0.5731 GB, free: 300 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.6953, allocations: 203 kB / 0.5733 GB, free: 232 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003569/0.6989, allocations: 0.9019 MB / 0.5742 GB, free: 72 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.7025, allocations: 0.8373 MB / 0.575 GB, free: 16 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003815/0.7064, allocations: 1.782 MB / 0.5768 GB, free: 0 / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.7077, allocations: 461.2 kB / 0.5772 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.7096, allocations: 0.629 MB / 0.5778 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/0.7119, allocations: 0.7395 MB / 0.5785 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003359/0.7122, allocations: 34.84 kB / 0.5786 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.7147, allocations: 0.8927 MB / 0.5794 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.7149, allocations: 168.9 kB / 0.5796 GB, free: 15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.7153, allocations: 158.5 kB / 0.5797 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.7165, allocations: 0.8754 MB / 0.5806 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.7165, allocations: 0 / 0.5806 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.7165, allocations: 0 / 0.5806 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.7165, allocations: 0 / 0.5806 GB, free: 14.52 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00192/0.7185, allocations: 0.9363 MB / 0.5815 GB, free: 13.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.7185, allocations: 8.438 kB / 0.5815 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005365/0.7191, allocations: 96.98 kB / 0.5816 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.7198, allocations: 457.2 kB / 0.5821 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.72, allocations: 80.8 kB / 0.5821 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/0.7201, allocations: 52.81 kB / 0.5822 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.7214, allocations: 0.7322 MB / 0.5829 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.7214, allocations: 4.531 kB / 0.5829 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.7215, allocations: 25.72 kB / 0.5829 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.7215, allocations: 13.81 kB / 0.5829 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.7228, allocations: 0.6247 MB / 0.5835 GB, free: 13.04 MB / 430.1 MB 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.004318/0.7271, allocations: 2.873 MB / 0.5864 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.7279, allocations: 417.3 kB / 0.5868 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/0.7284, allocations: 247.4 kB / 0.587 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/0.7301, allocations: 1.079 MB / 0.588 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.7301, allocations: 36.56 kB / 0.5881 GB, free: 10.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 1.993e-06/0.7301, allocations: 4 kB / 0.5881 GB, free: 10.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.006455/0.7366, allocations: 2.486 MB / 0.5905 GB, free: 9.016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.7367, allocations: 116.3 kB / 0.5906 GB, free: 8.887 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006512/0.7374, allocations: 0.5074 MB / 0.5911 GB, free: 8.688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.7374, allocations: 41.14 kB / 0.5912 GB, free: 8.656 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.7378, allocations: 309.5 kB / 0.5915 GB, free: 8.465 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.7379, allocations: 178 kB / 0.5916 GB, free: 8.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.738, allocations: 16.12 kB / 0.5916 GB, free: 8.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.7382, allocations: 369.8 kB / 0.592 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.7386, allocations: 241.7 kB / 0.5922 GB, free: 7.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.7393, allocations: 427.8 kB / 0.5926 GB, free: 7.711 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.7398, allocations: 262.9 kB / 0.5929 GB, free: 7.672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7398, allocations: 7.953 kB / 0.5929 GB, free: 7.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001794/0.7416, allocations: 0.8904 MB / 0.5938 GB, free: 7.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.7419, allocations: 249 kB / 0.594 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.7419, allocations: 11.83 kB / 0.594 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.7435, allocations: 492.3 kB / 0.5945 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.744, allocations: 129.1 kB / 0.5946 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.7458, allocations: 1.456 MB / 0.596 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007053/0.7465, allocations: 96.97 kB / 0.5961 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/0.7466, allocations: 78.14 kB / 0.5962 GB, free: 5.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.7466, allocations: 6.281 kB / 0.5962 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001503/0.7481, allocations: 0.7585 MB / 0.5969 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7481, allocations: 9.375 kB / 0.5969 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/0.7487, allocations: 322.6 kB / 0.5972 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005478/0.7492, allocations: 161.6 kB / 0.5974 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/0.7525, allocations: 2.498 MB / 0.5998 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007084/0.7532, allocations: 85.11 kB / 0.5999 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.7533, allocations: 25.91 kB / 0.5999 GB, free: 3.492 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 (Clutch1.free,$PRE.Clutch1.startForward,Clutch1.startForward,$PRE.Clutch1.startBackward,Clutch1.startBackward,Clutch1.locked,$PRE.Clutch1.mode,Clutch1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005036/0.7538, allocations: 274.8 kB / 0.6002 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.7539, allocations: 65.53 kB / 0.6003 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.7556, allocations: 0.7482 MB / 0.601 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.7556, allocations: 5.531 kB / 0.601 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.7556, allocations: 0 / 0.601 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.7556, allocations: 3.984 kB / 0.601 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.7581, allocations: 1.422 MB / 0.6024 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7581, allocations: 0 / 0.6024 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.7585, allocations: 83.25 kB / 0.6025 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.7596, allocations: 428.7 kB / 0.6029 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.7597, allocations: 24.27 kB / 0.6029 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.761, allocations: 1.416 MB / 0.6043 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.761, allocations: 1.75 kB / 0.6043 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.7629, allocations: 1.033 MB / 0.6053 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.7633, allocations: 204.7 kB / 0.6055 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.7634, allocations: 12.31 kB / 0.6055 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/0.7639, allocations: 79.34 kB / 0.6056 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.7641, allocations: 80.53 kB / 0.6057 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.7642, allocations: 77.73 kB / 0.6057 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004594/0.7647, allocations: 362.4 kB / 0.6061 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7647, allocations: 0 / 0.6061 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001544/0.7662, allocations: 397.3 kB / 0.6065 GB, free: 480 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ConstantSpeed1.phi,Clutch1.phi_rel,Clutch1.w_rel) * Number of discrete variables: 5 (Clutch1.free,Clutch1.startForward,Clutch1.startBackward,Clutch1.locked,Clutch1.mode) * Number of discrete states: 3 (Clutch1.mode,Clutch1.startBackward,Clutch1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006262/0.7669, allocations: 209.9 kB / 0.6067 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.7692, allocations: 1.151 MB / 0.6078 GB, free: 32 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.7692, allocations: 2.094 kB / 0.6078 GB, free: 32 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000775/0.77, allocations: 320.6 kB / 0.6081 GB, free: 0 / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.7713, allocations: 237.2 kB / 0.6083 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.7738, allocations: 1.503 MB / 0.6098 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.7745, allocations: 0.8807 MB / 0.6106 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006283/0.7752, allocations: 134.4 kB / 0.6108 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.7754, allocations: 55.22 kB / 0.6108 GB, free: 14.11 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.7754, allocations: 4 kB / 0.6108 GB, free: 14.11 MB / 446.1 MB Notification: Performance of Templates: time 0.02976/0.8051, allocations: 16.85 MB / 0.6273 GB, free: 13.46 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestFanMech -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe 2>&1) Environment - environmentSimulation: