Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009526/0.00953, allocations: 90.16 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001107/0.001107, allocations: 174.2 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.068/2.068, allocations: 205.5 MB / 222.2 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.237/2.237, allocations: 252.8 MB / 0.511 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 12.25 kB / 0.6243 GB, free: 28.35 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2096, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009708/0.2194, allocations: 5.717 MB / 0.7337 GB, free: 4.422 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.006579/0.226, allocations: 2.906 MB / 0.7365 GB, free: 1.504 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006825/0.2267, allocations: 23.81 kB / 0.7365 GB, free: 1.48 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.2272, allocations: 119.1 kB / 0.7366 GB, free: 1.363 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.2288, allocations: 426.7 kB / 0.737 GB, free: 0.9453 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.2302, allocations: 311.4 kB / 0.7373 GB, free: 0.6406 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.2319, allocations: 0.7466 MB / 0.7381 GB, free: 15.89 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.2344, allocations: 0.9219 MB / 0.739 GB, free: 14.95 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008009/0.2352, allocations: 350.8 kB / 0.7393 GB, free: 14.61 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008363/0.2361, allocations: 390.5 kB / 0.7397 GB, free: 14.22 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2362, allocations: 43.92 kB / 0.7397 GB, free: 14.18 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006028/0.2368, allocations: 147.8 kB / 0.7399 GB, free: 14.04 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.2372, allocations: 243.3 kB / 0.7401 GB, free: 13.8 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.2375, allocations: 177.3 kB / 0.7403 GB, free: 13.62 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.2388, allocations: 0.8689 MB / 0.7411 GB, free: 12.75 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2388, allocations: 0 / 0.7411 GB, free: 12.75 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.829e-06/0.2388, allocations: 4 kB / 0.7411 GB, free: 12.74 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.2389, allocations: 0 / 0.7411 GB, free: 12.74 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002522/0.2414, allocations: 0.9971 MB / 0.7421 GB, free: 11.69 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.2415, allocations: 8.031 kB / 0.7421 GB, free: 11.68 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.2417, allocations: 122.4 kB / 0.7422 GB, free: 11.55 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.2438, allocations: 218.7 kB / 0.7424 GB, free: 11.34 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.2452, allocations: 0.5249 MB / 0.7429 GB, free: 10.77 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.2453, allocations: 45.31 kB / 0.743 GB, free: 10.73 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.2455, allocations: 71.97 kB / 0.743 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.2479, allocations: 1.069 MB / 0.7441 GB, free: 9.484 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.2479, allocations: 11.88 kB / 0.7441 GB, free: 9.473 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.2481, allocations: 31.98 kB / 0.7441 GB, free: 9.441 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002594/0.2483, allocations: 85.2 kB / 0.7442 GB, free: 9.355 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.2503, allocations: 0.7504 MB / 0.7449 GB, free: 8.605 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008106/0.2585, allocations: 5.897 MB / 0.7507 GB, free: 2.285 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.2601, allocations: 0.5555 MB / 0.7512 GB, free: 1.715 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.567e-05/0.2602, allocations: 8.438 kB / 0.7512 GB, free: 1.707 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.2602, allocations: 43 kB / 0.7513 GB, free: 1.656 MB / 0.573 GB Notification: Performance of pre-optimization done (n=47): time 3.707e-06/0.2603, allocations: 0 / 0.7513 GB, free: 1.656 MB / 0.573 GB Notification: Performance of matching and sorting (n=48): time 0.006265/0.2665, allocations: 1.972 MB / 0.7532 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.2666, allocations: 59.84 kB / 0.7533 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009334/0.2676, allocations: 0.5507 MB / 0.7538 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.2676, allocations: 37.7 kB / 0.7538 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.268, allocations: 414.9 kB / 0.7542 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.2682, allocations: 173.6 kB / 0.7544 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.2683, allocations: 8 kB / 0.7544 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2685, allocations: 378.8 kB / 0.7548 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006982/0.2692, allocations: 273.8 kB / 0.755 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008572/0.27, allocations: 489 kB / 0.7555 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008553/0.2709, allocations: 342 kB / 0.7558 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.2709, allocations: 11.95 kB / 0.7558 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003019/0.274, allocations: 1.075 MB / 0.7569 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.274, allocations: 8.875 kB / 0.7569 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.274, allocations: 8 kB / 0.7569 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.2755, allocations: 283.1 kB / 0.7572 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009142/0.2764, allocations: 123.8 kB / 0.7573 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009139/0.2855, allocations: 6.698 MB / 0.7638 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009865/0.2866, allocations: 43.95 kB / 0.7639 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.2867, allocations: 28 kB / 0.7639 GB, free: 3.934 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000495/0.2872, allocations: 250.1 kB / 0.7641 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.2873, allocations: 75.16 kB / 0.7642 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.2899, allocations: 0.8807 MB / 0.7651 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.2899, allocations: 4 kB / 0.7651 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.2899, allocations: 8 kB / 0.7651 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2899, allocations: 3.938 kB / 0.7651 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/0.2941, allocations: 1.721 MB / 0.7668 GB, free: 0.8828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.2941, allocations: 0 / 0.7668 GB, free: 0.8828 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/0.2946, allocations: 59.89 kB / 0.7668 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.2959, allocations: 271.6 kB / 0.7671 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.296, allocations: 12 kB / 0.7671 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008932/0.3049, allocations: 6.685 MB / 0.7736 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.305, allocations: 8 kB / 0.7736 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.3076, allocations: 1.056 MB / 0.7747 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/0.308, allocations: 192.2 kB / 0.7748 GB, free: 7.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.3082, allocations: 15.95 kB / 0.7749 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006594/0.3088, allocations: 27.95 kB / 0.7749 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.309, allocations: 39.95 kB / 0.7749 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.3091, allocations: 16 kB / 0.7749 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007257/0.3098, allocations: 379 kB / 0.7753 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.11e-07/0.3099, allocations: 4 kB / 0.7753 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001312/0.3112, allocations: 224 kB / 0.7755 GB, free: 7.277 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003262/0.3145, allocations: 2.025 MB / 0.7775 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003156/0.3177, allocations: 1.271 MB / 0.7787 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3177, allocations: 0 / 0.7787 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/0.3197, allocations: 0.8897 MB / 0.7796 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.3212, allocations: 207.8 kB / 0.7798 GB, free: 2.711 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.3325, allocations: 8.878 MB / 0.7885 GB, free: 9.602 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008158/0.3334, allocations: 1.024 MB / 0.7895 GB, free: 8.551 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0007776/0.3342, allocations: 130.2 kB / 0.7896 GB, free: 8.422 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.3347, allocations: 247.4 kB / 0.7898 GB, free: 8.18 MB / 0.6199 GB Notification: Performance of SimCode: time 1.343e-06/0.3347, allocations: 0 / 0.7898 GB, free: 8.18 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05312/0.3878, allocations: 16.2 MB / 0.8057 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/0.3882, allocations: 212.5 kB / 0.8059 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/3.329, allocations: 0 / 0.8059 GB, free: 7.93 MB / 0.6355 GB