Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.71/1.71, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 183.3 kB / 393.1 MB, free: 4.102 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008188/0.0008187, allocations: 103.4 kB / 0.7935 GB, free: 40.15 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006029/0.0006031, allocations: 8 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6481/0.6487, allocations: 121.3 MB / 1.041 GB, free: 58.95 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.007731/0.6565, allocations: 5.98 MB / 1.047 GB, free: 54.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1723/0.8289, allocations: 142.5 MB / 1.186 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.8309, allocations: 23.88 kB / 1.186 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.8324, allocations: 250.9 kB / 1.186 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.8357, allocations: 0.6388 MB / 1.187 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.8387, allocations: 0.8823 MB / 1.188 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002932/0.8417, allocations: 1.735 MB / 1.189 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.8437, allocations: 1.132 MB / 1.19 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009792/0.8447, allocations: 452 kB / 1.191 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.8459, allocations: 0.5443 MB / 1.191 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003185/0.8463, allocations: 36 kB / 1.191 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.848, allocations: 0.5448 MB / 1.192 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005382/0.8485, allocations: 283.3 kB / 1.192 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0009357/0.8495, allocations: 0.5617 MB / 1.193 GB, free: 7.012 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.8527, allocations: 1.848 MB / 1.195 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8528, allocations: 0 / 1.195 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8528, allocations: 0 / 1.195 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.531e-05/0.8528, allocations: 0 / 1.195 GB, free: 5.844 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003471/0.8563, allocations: 1.428 MB / 1.196 GB, free: 4.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8564, allocations: 8.031 kB / 1.196 GB, free: 4.512 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.8578, allocations: 272.2 kB / 1.196 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.8597, allocations: 0.9175 MB / 1.197 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.8597, allocations: 74.7 kB / 1.197 GB, free: 3.398 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.86, allocations: 92 kB / 1.197 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.8629, allocations: 1.169 MB / 1.198 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.863, allocations: 3.938 kB / 1.198 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.8631, allocations: 44.52 kB / 1.198 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-05/0.8632, allocations: 54.64 kB / 1.199 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.8656, allocations: 1.296 MB / 1.2 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.8723, allocations: 4.38 MB / 1.204 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.8739, allocations: 0.8056 MB / 1.205 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.8746, allocations: 339.5 kB / 1.205 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.007e-05/0.8747, allocations: 27.27 kB / 1.205 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008982/0.8756, allocations: 476.6 kB / 1.206 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=80): time 4.077e-06/0.8756, allocations: 0 / 1.206 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=80): time 0.00242/0.878, allocations: 1.074 MB / 1.207 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.8782, allocations: 304.2 kB / 1.207 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.8796, allocations: 0.9123 MB / 1.208 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.507e-05/0.8797, allocations: 45.7 kB / 1.208 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.8801, allocations: 0.5193 MB / 1.208 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.8803, allocations: 272 kB / 1.209 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.8804, allocations: 16 kB / 1.209 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8805, allocations: 341.9 kB / 1.209 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.881, allocations: 273.8 kB / 1.209 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.8817, allocations: 432.5 kB / 1.21 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.8829, allocations: 0.6802 MB / 1.21 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8829, allocations: 0 / 1.21 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001592/0.8845, allocations: 0.872 MB / 1.211 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.8846, allocations: 174.6 kB / 1.211 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.8846, allocations: 8 kB / 1.211 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.8849, allocations: 28.78 kB / 1.211 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.8856, allocations: 183.8 kB / 1.212 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.8867, allocations: 1.28 MB / 1.213 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.8875, allocations: 123.2 kB / 1.213 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.098e-05/0.8876, allocations: 35.98 kB / 1.213 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.8876, allocations: 4 kB / 1.213 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001273/0.8889, allocations: 0.7455 MB / 1.214 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.8889, allocations: 4 kB / 1.214 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.889, allocations: 11.92 kB / 1.214 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.8896, allocations: 188 kB / 1.214 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.8897, allocations: 12 kB / 1.214 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/0.8903, allocations: 100.4 kB / 1.214 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/0.8904, allocations: 35.98 kB / 1.214 GB, free: 2.977 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006989/0.8911, allocations: 416.8 kB / 1.214 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.8913, allocations: 102.8 kB / 1.215 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.8932, allocations: 0.9701 MB / 1.216 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.8932, allocations: 8 kB / 1.216 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8933, allocations: 0 / 1.216 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.8933, allocations: 7.984 kB / 1.216 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/0.8964, allocations: 2.21 MB / 1.218 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.8964, allocations: 3.938 kB / 1.218 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/0.897, allocations: 167.8 kB / 1.218 GB, free: 15 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/0.8972, allocations: 20.84 kB / 1.218 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/0.8972, allocations: 23.98 kB / 1.218 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009171/0.8982, allocations: 1.276 MB / 1.219 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.8982, allocations: 7.969 kB / 1.219 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.8998, allocations: 0.9565 MB / 1.22 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.9003, allocations: 315.4 kB / 1.22 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.9004, allocations: 20 kB / 1.22 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/0.9012, allocations: 74.38 kB / 1.22 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.9013, allocations: 68.84 kB / 1.221 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.321e-05/0.9014, allocations: 31.98 kB / 1.221 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001201/0.9026, allocations: 0.6289 MB / 1.221 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9026, allocations: 0 / 1.221 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001881/0.9045, allocations: 0.5451 MB / 1.222 GB, free: 10.84 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001775/0.9063, allocations: 0.7347 MB / 1.222 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.9089, allocations: 1.216 MB / 1.224 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.9089, allocations: 7.938 kB / 1.224 GB, free: 9.055 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0008049/0.9097, allocations: 496.1 kB / 1.224 GB, free: 8.562 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.9115, allocations: 318.7 kB / 1.224 GB, free: 8.258 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.916, allocations: 2.607 MB / 1.227 GB, free: 5.613 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000975/0.917, allocations: 1.142 MB / 1.228 GB, free: 4.438 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001551/0.9185, allocations: 399.8 kB / 1.228 GB, free: 4.043 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.9189, allocations: 111.4 kB / 1.229 GB, free: 3.934 MB / 0.7917 GB Notification: Performance of SimCode: time 1.012e-06/0.9189, allocations: 0 / 1.229 GB, free: 3.934 MB / 0.7917 GB Notification: Performance of Templates: time 0.03101/0.9499, allocations: 15.14 MB / 1.243 GB, free: 4.914 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)