Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.954/1.954, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.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.001995/0.001995, allocations: 182 kB / 382.3 MB, free: 14.86 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.786/1.786, allocations: 225.7 MB / 0.6617 GB, free: 7.277 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009295/0.0009298, allocations: 99.53 kB / 0.7789 GB, free: 46.64 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004589, allocations: 8 kB / 0.9058 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9056/0.9061, allocations: 119.2 MB / 1.022 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003692/0.9099, allocations: 2.388 MB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003865/0.9138, allocations: 3.355 MB / 1.028 GB, free: 53.05 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.914, allocations: 2.438 kB / 1.028 GB, free: 53.05 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.9143, allocations: 29.66 kB / 1.028 GB, free: 53.03 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006568/0.9149, allocations: 183.2 kB / 1.028 GB, free: 52.94 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.9158, allocations: 247.2 kB / 1.028 GB, free: 52.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.9163, allocations: 456.9 kB / 1.029 GB, free: 52.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007424/0.917, allocations: 0.5046 MB / 1.029 GB, free: 52.24 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.9173, allocations: 106.8 kB / 1.029 GB, free: 52.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.9176, allocations: 150.6 kB / 1.029 GB, free: 52.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.9176, allocations: 7.25 kB / 1.03 GB, free: 52.14 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008249/0.9184, allocations: 432.1 kB / 1.03 GB, free: 52.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.9186, allocations: 82.69 kB / 1.03 GB, free: 51.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.9187, allocations: 129.6 kB / 1.03 GB, free: 51.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006539/0.9194, allocations: 465.3 kB / 1.031 GB, free: 51.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.9194, allocations: 3.438 kB / 1.031 GB, free: 51.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9194, allocations: 0 / 1.031 GB, free: 51.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.9194, allocations: 0 / 1.031 GB, free: 51.77 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001027/0.9204, allocations: 0.518 MB / 1.031 GB, free: 51.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.956e-05/0.9205, allocations: 10.84 kB / 1.031 GB, free: 51.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.9213, allocations: 111.5 kB / 1.031 GB, free: 51.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.9217, allocations: 253.2 kB / 1.031 GB, free: 51.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.9217, allocations: 21.39 kB / 1.031 GB, free: 51.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.9218, allocations: 21.06 kB / 1.031 GB, free: 51.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/0.9226, allocations: 388.6 kB / 1.032 GB, free: 50.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.9226, allocations: 7.625 kB / 1.032 GB, free: 50.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.9226, allocations: 4 kB / 1.032 GB, free: 50.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.676e-05/0.9227, allocations: 28.12 kB / 1.032 GB, free: 50.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007088/0.9234, allocations: 364.3 kB / 1.032 GB, free: 50.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.9255, allocations: 1.745 MB / 1.034 GB, free: 49.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/0.9262, allocations: 342.5 kB / 1.034 GB, free: 49.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.9266, allocations: 191.8 kB / 1.034 GB, free: 49.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.9268, allocations: 94.41 kB / 1.035 GB, free: 48.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.9268, allocations: 40.41 kB / 1.035 GB, free: 48.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.316e-06/0.9269, allocations: 0 / 1.035 GB, free: 48.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.007718/0.9346, allocations: 2.072 MB / 1.037 GB, free: 48.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.9347, allocations: 83.33 kB / 1.037 GB, free: 48.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.9349, allocations: 184.6 kB / 1.037 GB, free: 48.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.935, allocations: 31.45 kB / 1.037 GB, free: 48.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.9351, allocations: 152.1 kB / 1.037 GB, free: 48.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.274e-05/0.9352, allocations: 116.8 kB / 1.037 GB, free: 47.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.9352, allocations: 9.125 kB / 1.037 GB, free: 47.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.9353, allocations: 330.7 kB / 1.037 GB, free: 47.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.9358, allocations: 266.5 kB / 1.038 GB, free: 47.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/0.9363, allocations: 342.8 kB / 1.038 GB, free: 47.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.9373, allocations: 0.6186 MB / 1.039 GB, free: 47.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9374, allocations: 6.594 kB / 1.039 GB, free: 47.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001274/0.9386, allocations: 0.6555 MB / 1.039 GB, free: 46.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.9388, allocations: 156.4 kB / 1.039 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.9388, allocations: 7.875 kB / 1.039 GB, free: 46.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.9388, allocations: 3.156 kB / 1.039 GB, free: 46.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009095/0.9398, allocations: 150 kB / 1.04 GB, free: 46.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.9398, allocations: 4.938 kB / 1.04 GB, free: 46.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.9402, allocations: 58.61 kB / 1.04 GB, free: 46.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.9403, allocations: 17.58 kB / 1.04 GB, free: 46.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.9403, allocations: 10.75 kB / 1.04 GB, free: 46.55 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/0.9415, allocations: 0.5859 MB / 1.04 GB, free: 46.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.9415, allocations: 2.75 kB / 1.04 GB, free: 46.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.9415, allocations: 4.125 kB / 1.04 GB, free: 46.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.9424, allocations: 155.6 kB / 1.04 GB, free: 46.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.9424, allocations: 4.656 kB / 1.04 GB, free: 46.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.9428, allocations: 50.36 kB / 1.04 GB, free: 46.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.9428, allocations: 16.5 kB / 1.04 GB, free: 46.33 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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 0.0002963/0.9431, allocations: 247.4 kB / 1.041 GB, free: 46.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.9432, allocations: 25.03 kB / 1.041 GB, free: 46.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.9447, allocations: 0.6765 MB / 1.041 GB, free: 45.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.9447, allocations: 7.531 kB / 1.041 GB, free: 45.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.9447, allocations: 3.5 kB / 1.041 GB, free: 45.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9447, allocations: 0 / 1.041 GB, free: 45.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.9469, allocations: 1.388 MB / 1.043 GB, free: 44.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.9469, allocations: 1.375 kB / 1.043 GB, free: 44.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.9475, allocations: 131.3 kB / 1.043 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.9475, allocations: 4.406 kB / 1.043 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.9476, allocations: 10.75 kB / 1.043 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.9476, allocations: 5.312 kB / 1.043 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.9476, allocations: 5.188 kB / 1.043 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009613/0.9486, allocations: 0.7322 MB / 1.044 GB, free: 44.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.9487, allocations: 143.1 kB / 1.044 GB, free: 44.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.9488, allocations: 16.19 kB / 1.044 GB, free: 44.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.9491, allocations: 44.7 kB / 1.044 GB, free: 44.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.9492, allocations: 40.56 kB / 1.044 GB, free: 44.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.9493, allocations: 10.81 kB / 1.044 GB, free: 44.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001224/0.9494, allocations: 141.5 kB / 1.044 GB, free: 44.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9494, allocations: 4 kB / 1.044 GB, free: 44.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007024/0.9501, allocations: 142.1 kB / 1.044 GB, free: 44.24 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.000228/0.9503, allocations: 138.2 kB / 1.044 GB, free: 44.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.9519, allocations: 0.87 MB / 1.045 GB, free: 43.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9519, allocations: 0 / 1.045 GB, free: 43.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.9523, allocations: 267 kB / 1.045 GB, free: 43.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.9529, allocations: 50.41 kB / 1.045 GB, free: 43.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.9541, allocations: 0.8171 MB / 1.046 GB, free: 43.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.9543, allocations: 0.7878 MB / 1.047 GB, free: 42.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005182/0.9548, allocations: 167 kB / 1.047 GB, free: 42.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.955, allocations: 30.47 kB / 1.047 GB, free: 42.52 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.955, allocations: 0 / 1.047 GB, free: 42.52 MB / 0.698 GB Notification: Performance of Templates: time 0.007989/0.963, allocations: 4.475 MB / 1.052 GB, free: 42.28 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)