Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.0113/0.0113, allocations: 106.9 kB / 15.05 MB, free: 5.988 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.001259/0.001259, allocations: 181 kB / 15.94 MB, free: 5.941 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 1.882/1.882, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.257/2.257, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004684, allocations: 16 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6902, allocations: 98.7 MB / 0.6834 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2733/0.9636, allocations: 154.9 MB / 0.8347 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004038/0.964, allocations: 99.94 kB / 0.8348 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0834/1.047, allocations: 19.32 MB / 0.8536 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.324e-06/1.047, allocations: 0 / 0.8536 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.45e-05/1.048, allocations: 4 kB / 0.8536 GB, free: 15.63 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001507/1.049, allocations: 0.5768 MB / 0.8542 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.049, allocations: 12.03 kB / 0.8542 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/1.049, allocations: 62.52 kB / 0.8543 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/1.051, allocations: 107.5 kB / 0.8544 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008554/1.052, allocations: 297.4 kB / 0.8547 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/1.052, allocations: 16.56 kB / 0.8547 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/1.052, allocations: 31.84 kB / 0.8547 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/1.053, allocations: 441 kB / 0.8551 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.053, allocations: 0 / 0.8551 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/1.053, allocations: 12 kB / 0.8551 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.968e-05/1.053, allocations: 28.55 kB / 0.8552 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009157/1.054, allocations: 345.9 kB / 0.8555 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003934/1.058, allocations: 2.206 MB / 0.8576 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007707/1.059, allocations: 259 kB / 0.8579 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/1.059, allocations: 4.188 kB / 0.8579 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/1.059, allocations: 38.73 kB / 0.8579 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 5.49e-06/1.059, allocations: 0 / 0.8579 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002935/1.062, allocations: 1.058 MB / 0.859 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/1.062, allocations: 59.36 kB / 0.859 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/1.062, allocations: 220.1 kB / 0.8592 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/1.063, allocations: 29.7 kB / 0.8593 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/1.063, allocations: 183.9 kB / 0.8594 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.063, allocations: 90.75 kB / 0.8595 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/1.063, allocations: 8 kB / 0.8595 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.063, allocations: 330.8 kB / 0.8598 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/1.063, allocations: 155.9 kB / 0.86 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/1.064, allocations: 233.2 kB / 0.8602 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/1.064, allocations: 186.7 kB / 0.8604 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.064, allocations: 0 / 0.8604 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001816/1.066, allocations: 0.5757 MB / 0.861 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/1.066, allocations: 9.25 kB / 0.861 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.066, allocations: 7.953 kB / 0.861 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/1.067, allocations: 180.9 kB / 0.8611 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/1.068, allocations: 63.89 kB / 0.8612 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/1.073, allocations: 2.35 MB / 0.8635 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/1.073, allocations: 20.02 kB / 0.8635 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/1.073, allocations: 12 kB / 0.8635 GB, free: 4.859 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002848/1.073, allocations: 168.3 kB / 0.8637 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/1.074, allocations: 23.78 kB / 0.8637 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009264/1.074, allocations: 359.4 kB / 0.8641 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.075, allocations: 0 / 0.8641 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/1.075, allocations: 4 kB / 0.8641 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.075, allocations: 3.984 kB / 0.8641 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/1.076, allocations: 0.8044 MB / 0.8649 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.076, allocations: 0 / 0.8649 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00077/1.077, allocations: 79.94 kB / 0.8649 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/1.077, allocations: 4 kB / 0.8649 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/1.077, allocations: 3.984 kB / 0.8649 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.077, allocations: 4 kB / 0.8649 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.077, allocations: 3.938 kB / 0.8649 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/1.079, allocations: 0.6276 MB / 0.8656 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/1.079, allocations: 132.8 kB / 0.8657 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/1.079, allocations: 8 kB / 0.8657 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/1.079, allocations: 11.98 kB / 0.8657 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/1.079, allocations: 11.98 kB / 0.8657 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/1.079, allocations: 8 kB / 0.8657 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002789/1.08, allocations: 180.5 kB / 0.8659 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/1.08, allocations: 0 / 0.8659 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006699/1.08, allocations: 103.9 kB / 0.866 GB, free: 2.219 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001781/1.082, allocations: 1.329 MB / 0.8673 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001522/1.084, allocations: 0.5293 MB / 0.8678 GB, free: 312 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.084, allocations: 0 / 0.8678 GB, free: 312 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003626/1.084, allocations: 156.4 kB / 0.868 GB, free: 156 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/1.085, allocations: 53.16 kB / 0.868 GB, free: 104 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/1.091, allocations: 3.757 MB / 0.8717 GB, free: 12.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/1.092, allocations: 0.799 MB / 0.8725 GB, free: 11.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004219/1.092, allocations: 74.91 kB / 0.8725 GB, free: 11.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/1.092, allocations: 83.39 kB / 0.8726 GB, free: 11.25 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.092, allocations: 3.938 kB / 0.8726 GB, free: 11.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/1.132, allocations: 6.262 MB / 0.8787 GB, free: 5.141 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003365/1.132, allocations: 214 kB / 0.8789 GB, free: 4.902 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/3.744, allocations: 3.938 kB / 0.8789 GB, free: 4.898 MB / 0.698 GB