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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 223.1 MB, free: 8.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 98.83 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4295/0.4295, allocations: 48.83 MB / 366.7 MB, free: 46.6 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001072, allocations: 51.92 kB / 436.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.122, allocations: 59.15 MB / 495.8 MB, free: 148 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.3643/0.4863, allocations: 144.8 MB / 0.6256 GB, free: 2.457 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003877/0.4902, allocations: 2.302 MB / 0.6278 GB, free: 160 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.4906, allocations: 7.938 kB / 0.6278 GB, free: 152 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007462/0.4913, allocations: 226.7 kB / 0.628 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.4928, allocations: 0.8952 MB / 0.6289 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.4947, allocations: 0.9382 MB / 0.6298 GB, free: 14.1 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001805/0.4966, allocations: 1.98 MB / 0.6318 GB, free: 12.11 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005699/0.4971, allocations: 477.7 kB / 0.6322 GB, free: 11.65 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007863/0.4979, allocations: 0.6398 MB / 0.6328 GB, free: 11.01 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009006/0.4988, allocations: 0.8138 MB / 0.6336 GB, free: 10.2 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.499, allocations: 40 kB / 0.6337 GB, free: 10.16 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.5003, allocations: 1.119 MB / 0.6348 GB, free: 9.035 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.5006, allocations: 171.3 kB / 0.6349 GB, free: 8.867 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003794/0.5009, allocations: 382.1 kB / 0.6353 GB, free: 8.492 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.5022, allocations: 1.219 MB / 0.6365 GB, free: 7.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5022, allocations: 0 / 0.6365 GB, free: 7.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.073e-06/0.5022, allocations: 0 / 0.6365 GB, free: 7.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.5022, allocations: 0 / 0.6365 GB, free: 7.27 MB / 458.7 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.001896/0.5041, allocations: 1.065 MB / 0.6375 GB, free: 6.156 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5042, allocations: 8.031 kB / 0.6375 GB, free: 6.148 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.5047, allocations: 104 kB / 0.6376 GB, free: 6.047 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.5054, allocations: 469.7 kB / 0.6381 GB, free: 5.547 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.685e-05/0.5055, allocations: 79.75 kB / 0.6382 GB, free: 5.465 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-05/0.5056, allocations: 62 kB / 0.6382 GB, free: 5.406 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.5068, allocations: 0.7231 MB / 0.6389 GB, free: 4.648 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.5069, allocations: 4 kB / 0.6389 GB, free: 4.645 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/0.5069, allocations: 24 kB / 0.6389 GB, free: 4.621 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.507, allocations: 16 kB / 0.639 GB, free: 4.605 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.5082, allocations: 0.6023 MB / 0.6396 GB, free: 4.004 MB / 458.7 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.004241/0.5124, allocations: 2.858 MB / 0.6423 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.5134, allocations: 425.5 kB / 0.6427 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.5138, allocations: 238.1 kB / 0.643 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/0.5155, allocations: 1.078 MB / 0.644 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.5156, allocations: 42.94 kB / 0.6441 GB, free: 15.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=49): time 1.974e-06/0.5156, allocations: 0 / 0.6441 GB, free: 15.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=51): time 0.006209/0.5218, allocations: 2.411 MB / 0.6464 GB, free: 12.53 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.5219, allocations: 115.2 kB / 0.6465 GB, free: 12.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/0.5225, allocations: 0.5144 MB / 0.647 GB, free: 11.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.5225, allocations: 41.7 kB / 0.6471 GB, free: 11.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.5228, allocations: 312.2 kB / 0.6474 GB, free: 11.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.5229, allocations: 173.5 kB / 0.6475 GB, free: 11.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.5232, allocations: 150.5 kB / 0.6477 GB, free: 11.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.5233, allocations: 362.8 kB / 0.648 GB, free: 10.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.5238, allocations: 248.7 kB / 0.6483 GB, free: 10.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006358/0.5245, allocations: 438.4 kB / 0.6487 GB, free: 10.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.5255, allocations: 0.5966 MB / 0.6493 GB, free: 9.391 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5255, allocations: 4 kB / 0.6493 GB, free: 9.387 MB / 474.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001707/0.5273, allocations: 0.891 MB / 0.6501 GB, free: 8.488 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.5273, allocations: 8 kB / 0.6501 GB, free: 8.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.5273, allocations: 8 kB / 0.6502 GB, free: 8.473 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.5291, allocations: 497.8 kB / 0.6506 GB, free: 7.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.5296, allocations: 127.8 kB / 0.6508 GB, free: 7.855 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.5313, allocations: 1.462 MB / 0.6522 GB, free: 6.344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/0.532, allocations: 67.78 kB / 0.6522 GB, free: 6.277 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.5321, allocations: 75.98 kB / 0.6523 GB, free: 6.203 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006443/0.5327, allocations: 358.1 kB / 0.6527 GB, free: 5.848 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005851/0.5333, allocations: 415.1 kB / 0.6531 GB, free: 5.359 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008829/0.5342, allocations: 0.5757 MB / 0.6536 GB, free: 4.703 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.524e-06/0.5342, allocations: 0 / 0.6536 GB, free: 4.703 MB / 474.7 MB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001681/0.5359, allocations: 0.8437 MB / 0.6544 GB, free: 3.844 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5359, allocations: 10.5 kB / 0.6545 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.536, allocations: 8 kB / 0.6545 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.5365, allocations: 318.2 kB / 0.6548 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.5371, allocations: 151.8 kB / 0.6549 GB, free: 3.363 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/0.54, allocations: 2.494 MB / 0.6573 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.5406, allocations: 59.94 kB / 0.6574 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.5407, allocations: 28 kB / 0.6574 GB, free: 0.6328 MB / 474.7 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.mode,$PRE.Clutch1.mode,Clutch1.locked,Clutch1.startBackward,$PRE.Clutch1.startBackward,Clutch1.startForward,$PRE.Clutch1.startForward,Clutch1.free) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002815/0.541, allocations: 236 kB / 0.6577 GB, free: 400 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.5411, allocations: 67.25 kB / 0.6577 GB, free: 332 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.5429, allocations: 0.7264 MB / 0.6584 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.5429, allocations: 4 kB / 0.6584 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5429, allocations: 2.625 kB / 0.6584 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.543, allocations: 3.984 kB / 0.6584 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.5457, allocations: 1.419 MB / 0.6598 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5457, allocations: 3.938 kB / 0.6598 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.5461, allocations: 75.89 kB / 0.6599 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.5474, allocations: 433.3 kB / 0.6603 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.5475, allocations: 19.98 kB / 0.6603 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.549, allocations: 1.423 MB / 0.6617 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.549, allocations: 0 / 0.6617 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02294/0.572, allocations: 10.55 MB / 0.672 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.5723, allocations: 204.3 kB / 0.6722 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.751e-05/0.5724, allocations: 12 kB / 0.6722 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/0.573, allocations: 63.81 kB / 0.6723 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.5732, allocations: 72.2 kB / 0.6724 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.5733, allocations: 83.81 kB / 0.6724 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000423/0.5738, allocations: 362.8 kB / 0.6728 GB, free: 172 kB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5738, allocations: 0 / 0.6728 GB, free: 172 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.001899/0.5757, allocations: 0.6093 MB / 0.6734 GB, free: 15.55 MB / 0.4948 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000645/0.5763, allocations: 262.9 kB / 0.6736 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.5789, allocations: 1.134 MB / 0.6747 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5789, allocations: 0 / 0.6747 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007842/0.5797, allocations: 306.3 kB / 0.675 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.581, allocations: 229.3 kB / 0.6752 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.584, allocations: 2.048 MB / 0.6772 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.5845, allocations: 0.8879 MB / 0.6781 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007712/0.5852, allocations: 166.9 kB / 0.6783 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.5855, allocations: 75.42 kB / 0.6783 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.5856, allocations: 0 / 0.6783 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of Templates: time 0.2039/0.7895, allocations: 20.97 MB / 0.6988 GB, free: 162.7 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.makefile (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)