Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01642/0.01642, allocations: 110 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002002/0.002002, allocations: 181.9 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.308/2.308, allocations: 194.5 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.479/2.479, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006212/0.000621, allocations: 8 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.7141, allocations: 98.72 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.01054/0.7247, allocations: 6.37 MB / 0.6897 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2699/0.9946, allocations: 128.7 MB / 0.8154 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.9962, allocations: 23.88 kB / 0.8154 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008226/0.9971, allocations: 126.9 kB / 0.8155 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003669/1.001, allocations: 0.6192 MB / 0.8161 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004711/1.005, allocations: 0.8223 MB / 0.8169 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004007/1.01, allocations: 1.197 MB / 0.8181 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003344/1.013, allocations: 1.239 MB / 0.8193 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/1.015, allocations: 0.5642 MB / 0.8199 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/1.016, allocations: 0.5947 MB / 0.8204 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000322/1.017, allocations: 52 kB / 0.8205 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/1.018, allocations: 343.6 kB / 0.8208 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006316/1.019, allocations: 314.8 kB / 0.8211 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005831/1.02, allocations: 312.7 kB / 0.8214 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003527/1.023, allocations: 1.895 MB / 0.8233 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/1.023, allocations: 0 / 0.8233 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.216e-06/1.023, allocations: 0 / 0.8233 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.322e-05/1.023, allocations: 0 / 0.8233 GB, free: 14.76 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.005965/1.029, allocations: 1.754 MB / 0.825 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.029, allocations: 8.031 kB / 0.825 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007349/1.03, allocations: 228.2 kB / 0.8252 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/1.043, allocations: 1.063 MB / 0.8262 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/1.046, allocations: 0.946 MB / 0.8272 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/1.046, allocations: 119.1 kB / 0.8273 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005057/1.046, allocations: 156 kB / 0.8274 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00863/1.055, allocations: 2.088 MB / 0.8295 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.281e-05/1.055, allocations: 3.938 kB / 0.8295 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/1.056, allocations: 64 kB / 0.8295 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/1.056, allocations: 74.95 kB / 0.8296 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/1.068, allocations: 2.541 MB / 0.8321 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01973/1.088, allocations: 6.499 MB / 0.8384 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008936/1.097, allocations: 1.709 MB / 0.8401 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.098, allocations: 494.6 kB / 0.8406 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004279/1.102, allocations: 0.9834 MB / 0.8415 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=128): time 6.282e-06/1.102, allocations: 3.984 kB / 0.8415 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of matching and sorting (n=128): time 0.01272/1.115, allocations: 2.329 MB / 0.8438 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/1.115, allocations: 278 kB / 0.8441 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/1.117, allocations: 0.7709 MB / 0.8448 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004363/1.117, allocations: 49.7 kB / 0.8449 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007466/1.118, allocations: 0.605 MB / 0.8455 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007675/1.119, allocations: 421.9 kB / 0.8459 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/1.119, allocations: 20 kB / 0.8459 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002458/1.119, allocations: 353.9 kB / 0.8462 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003732/1.123, allocations: 0.6428 MB / 0.8469 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004207/1.127, allocations: 0.8459 MB / 0.8477 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00411/1.131, allocations: 0.7554 MB / 0.8484 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/1.132, allocations: 4 kB / 0.8484 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.009362/1.141, allocations: 1.831 MB / 0.8502 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006644/1.142, allocations: 1.197 MB / 0.8514 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.142, allocations: 0 / 0.8514 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003134/1.142, allocations: 28.84 kB / 0.8514 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/1.146, allocations: 351.5 kB / 0.8517 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/1.148, allocations: 1.306 MB / 0.853 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/1.151, allocations: 206.6 kB / 0.8532 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003945/1.151, allocations: 63.94 kB / 0.8533 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.152, allocations: 8 kB / 0.8533 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008793/1.16, allocations: 1.705 MB / 0.8549 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.16, allocations: 8.031 kB / 0.855 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.16, allocations: 15.88 kB / 0.855 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00398/1.164, allocations: 343.5 kB / 0.8553 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/1.165, allocations: 11.94 kB / 0.8553 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/1.168, allocations: 194.8 kB / 0.8555 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003341/1.168, allocations: 63.95 kB / 0.8556 GB, free: 12.67 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00129/1.169, allocations: 440.8 kB / 0.856 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/1.17, allocations: 122.5 kB / 0.8561 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/1.18, allocations: 1.978 MB / 0.858 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/1.18, allocations: 19.98 kB / 0.858 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.18, allocations: 0 / 0.858 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.91e-05/1.18, allocations: 7.969 kB / 0.8581 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/1.194, allocations: 3.664 MB / 0.8616 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.194, allocations: 0 / 0.8616 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003667/1.198, allocations: 315.6 kB / 0.8619 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/1.198, allocations: 32.84 kB / 0.862 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003275/1.198, allocations: 43.95 kB / 0.862 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/1.2, allocations: 1.276 MB / 0.8633 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.2, allocations: 7.953 kB / 0.8633 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008866/1.208, allocations: 1.793 MB / 0.865 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.21, allocations: 427 kB / 0.8654 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004208/1.21, allocations: 27.94 kB / 0.8654 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002861/1.213, allocations: 147.8 kB / 0.8656 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003808/1.214, allocations: 85.19 kB / 0.8657 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/1.214, allocations: 55.95 kB / 0.8657 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001265/1.215, allocations: 0.5617 MB / 0.8663 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/1.215, allocations: 0 / 0.8663 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003103/1.218, allocations: 0.7395 MB / 0.867 GB, free: 0.6523 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01113/1.229, allocations: 3.026 MB / 0.8699 GB, free: 13.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01324/1.243, allocations: 2.796 MB / 0.8727 GB, free: 10.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.243, allocations: 0 / 0.8727 GB, free: 10.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004411/1.247, allocations: 0.9358 MB / 0.8736 GB, free: 9.973 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/1.249, allocations: 234.7 kB / 0.8738 GB, free: 9.746 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.261, allocations: 5.97 MB / 0.8796 GB, free: 3.656 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/1.262, allocations: 1.268 MB / 0.8809 GB, free: 2.359 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004753/1.267, allocations: 0.5314 MB / 0.8814 GB, free: 1.824 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/1.269, allocations: 0.5812 MB / 0.882 GB, free: 1.242 MB / 0.698 GB Notification: Performance of SimCode: time 3.116e-06/1.269, allocations: 8 kB / 0.882 GB, free: 1.234 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0937/1.363, allocations: 28.31 MB / 0.9096 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/1.363, allocations: 289 kB / 0.9099 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.088/5.451, allocations: 0 / 0.9099 GB, free: 4.84 MB / 0.7292 GB