Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 107.1 kB / 17.74 MB, free: 5.328 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.001193/0.001193, allocations: 194.4 kB / 18.68 MB, free: 4.402 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.285/1.285, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2535/0.2535, allocations: 48.85 MB / 320.8 MB, free: 11.02 MB / 270.1 MB 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.001458/0.001458, allocations: 75.88 kB / 451.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09409, allocations: 59.16 MB / 0.4984 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003022/0.09715, allocations: 2.06 MB / 0.5004 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.09819, allocations: 0.6086 MB / 0.501 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.09831, allocations: 0 / 0.501 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.09844, allocations: 31.72 kB / 0.501 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.09867, allocations: 63.42 kB / 0.5011 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.09883, allocations: 39.94 kB / 0.5011 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.09909, allocations: 207 kB / 0.5013 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.09923, allocations: 52.25 kB / 0.5014 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.09938, allocations: 83.58 kB / 0.5015 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.09953, allocations: 83.62 kB / 0.5015 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.09956, allocations: 15.94 kB / 0.5015 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.742e-05/0.09962, allocations: 12 kB / 0.5016 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.09967, allocations: 31.84 kB / 0.5016 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.988e-05/0.09976, allocations: 87.53 kB / 0.5017 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.09999, allocations: 171.2 kB / 0.5018 GB, free: 9.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1, allocations: 8 kB / 0.5018 GB, free: 9.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1, allocations: 0 / 0.5018 GB, free: 9.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1, allocations: 0 / 0.5018 GB, free: 9.727 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007319/0.1008, allocations: 494.5 kB / 0.5023 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1008, allocations: 15.89 kB / 0.5023 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.041e-05/0.1009, allocations: 20.66 kB / 0.5024 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.1012, allocations: 244.9 kB / 0.5026 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1012, allocations: 8.375 kB / 0.5026 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.1013, allocations: 12.38 kB / 0.5026 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.1015, allocations: 137.1 kB / 0.5027 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1015, allocations: 3.938 kB / 0.5027 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1016, allocations: 4 kB / 0.5027 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1016, allocations: 4 kB / 0.5027 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.1018, allocations: 79.95 kB / 0.5028 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007207/0.1025, allocations: 0.5566 MB / 0.5034 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1028, allocations: 106.6 kB / 0.5035 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1029, allocations: 40.84 kB / 0.5035 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.1029, allocations: 4 kB / 0.5035 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1029, allocations: 30.56 kB / 0.5035 GB, free: 7.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1029, allocations: 0 / 0.5035 GB, free: 7.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007833/0.1037, allocations: 450.3 kB / 0.504 GB, free: 7.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.1038, allocations: 55.41 kB / 0.504 GB, free: 7.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.104, allocations: 225 kB / 0.5042 GB, free: 7.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.104, allocations: 29.7 kB / 0.5043 GB, free: 6.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.1041, allocations: 124.3 kB / 0.5044 GB, free: 6.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1041, allocations: 47.3 kB / 0.5044 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.1042, allocations: 29.72 kB / 0.5045 GB, free: 6.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1043, allocations: 330.8 kB / 0.5048 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.1044, allocations: 31.98 kB / 0.5048 GB, free: 6.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.849e-05/0.1045, allocations: 54.56 kB / 0.5049 GB, free: 6.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.1047, allocations: 98.42 kB / 0.5049 GB, free: 6.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1047, allocations: 0 / 0.5049 GB, free: 6.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002472/0.1049, allocations: 149.3 kB / 0.5051 GB, free: 6.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.105, allocations: 11.84 kB / 0.5051 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.105, allocations: 0 / 0.5051 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.105, allocations: 4 kB / 0.5051 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1052, allocations: 35.97 kB / 0.5051 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1052, allocations: 0 / 0.5051 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1053, allocations: 11.98 kB / 0.5052 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1053, allocations: 7.938 kB / 0.5052 GB, free: 6.027 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * 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 9.186e-05/0.1054, allocations: 129.8 kB / 0.5053 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.1054, allocations: 23.75 kB / 0.5053 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.1055, allocations: 25.7 kB / 0.5053 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1055, allocations: 0 / 0.5053 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1055, allocations: 0 / 0.5053 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.1056, allocations: 100.9 kB / 0.5054 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1056, allocations: 0 / 0.5054 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1057, allocations: 4 kB / 0.5054 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.1058, allocations: 15.98 kB / 0.5054 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004092/0.1062, allocations: 224.7 kB / 0.5057 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003651/0.1066, allocations: 338.5 kB / 0.506 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.221e-05/0.1067, allocations: 44.02 kB / 0.506 GB, free: 5.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.1068, allocations: 168.5 kB / 0.5062 GB, free: 4.918 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.1068, allocations: 0 / 0.5062 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.1073, allocations: 134.2 kB / 0.5063 GB, free: 4.781 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009643/0.1083, allocations: 0.9469 MB / 0.5072 GB, free: 3.789 MB / 398.1 MB Notification: Performance of Templates: time 0.004818/0.1131, allocations: 1.962 MB / 0.5092 GB, free: 1.828 MB / 398.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1)