Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") 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.83/1.83, allocations: 297.4 MB / 312.6 MB, free: 2.902 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.001077/0.001077, allocations: 186 kB / 382.3 MB, free: 14.83 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.762/1.762, allocations: 225.7 MB / 0.6617 GB, free: 7.207 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.0009598/0.0009599, allocations: 94.3 kB / 0.7789 GB, free: 47.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005756/0.0005757, allocations: 8.688 kB / 0.9059 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6952/0.6958, allocations: 119.2 MB / 1.022 GB, free: 58.27 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003672/0.6995, allocations: 2.288 MB / 1.025 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002385/0.702, allocations: 1.927 MB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.7021, allocations: 2.625 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.7023, allocations: 26.11 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.7028, allocations: 157.7 kB / 1.027 GB, free: 55.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.7032, allocations: 150.5 kB / 1.027 GB, free: 55.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.7036, allocations: 369.3 kB / 1.027 GB, free: 55.22 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.7042, allocations: 392.7 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.7044, allocations: 84.11 kB / 1.028 GB, free: 54.86 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.7046, allocations: 126.8 kB / 1.028 GB, free: 54.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.7047, allocations: 8.25 kB / 1.028 GB, free: 54.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.705, allocations: 182.1 kB / 1.028 GB, free: 54.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.7051, allocations: 58.55 kB / 1.028 GB, free: 54.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.7052, allocations: 104.6 kB / 1.028 GB, free: 54.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.7057, allocations: 289.3 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7057, allocations: 1.156 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7057, allocations: 1 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.7057, allocations: 3.938 kB / 1.028 GB, free: 54.57 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007033/0.7064, allocations: 480.7 kB / 1.029 GB, free: 54.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.7064, allocations: 9.906 kB / 1.029 GB, free: 54.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004571/0.7069, allocations: 67.06 kB / 1.029 GB, free: 54.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.7072, allocations: 240.3 kB / 1.029 GB, free: 53.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.7072, allocations: 8.766 kB / 1.029 GB, free: 53.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.7072, allocations: 14.97 kB / 1.029 GB, free: 53.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.7077, allocations: 315 kB / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.7078, allocations: 0 / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.7078, allocations: 6.906 kB / 1.029 GB, free: 53.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/0.7079, allocations: 32.48 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.7083, allocations: 271.6 kB / 1.03 GB, free: 53.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.7099, allocations: 1.499 MB / 1.031 GB, free: 52.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.7104, allocations: 270.9 kB / 1.031 GB, free: 52.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.7107, allocations: 131.9 kB / 1.031 GB, free: 52.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.7107, allocations: 2.938 kB / 1.031 GB, free: 52.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.7107, allocations: 34.56 kB / 1.032 GB, free: 52.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.754e-06/0.7107, allocations: 2.625 kB / 1.032 GB, free: 52.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0007235/0.7115, allocations: 357.6 kB / 1.032 GB, free: 51.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.7115, allocations: 84.14 kB / 1.032 GB, free: 51.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.7117, allocations: 176.6 kB / 1.032 GB, free: 51.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.7117, allocations: 29.7 kB / 1.032 GB, free: 51.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.7118, allocations: 143.4 kB / 1.032 GB, free: 51.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.7118, allocations: 50.12 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.7118, allocations: 5.562 kB / 1.032 GB, free: 51.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.7119, allocations: 328.5 kB / 1.033 GB, free: 51.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.7121, allocations: 114.8 kB / 1.033 GB, free: 51.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.7123, allocations: 171.7 kB / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.7128, allocations: 291.2 kB / 1.033 GB, free: 50.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7128, allocations: 1.688 kB / 1.033 GB, free: 50.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005375/0.7133, allocations: 315.7 kB / 1.034 GB, free: 50.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/0.7134, allocations: 143.9 kB / 1.034 GB, free: 50.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.7134, allocations: 3.938 kB / 1.034 GB, free: 50.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.7134, allocations: 0.6562 kB / 1.034 GB, free: 50.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.7138, allocations: 59.41 kB / 1.034 GB, free: 50.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.7138, allocations: 13.97 kB / 1.034 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.714, allocations: 36.52 kB / 1.034 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.714, allocations: 8.078 kB / 1.034 GB, free: 50.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-06/0.714, allocations: 3.156 kB / 1.034 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004422/0.7145, allocations: 251.2 kB / 1.034 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.7145, allocations: 6.219 kB / 1.034 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/0.7145, allocations: 5.203 kB / 1.034 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.7147, allocations: 48.08 kB / 1.034 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7147, allocations: 9.469 kB / 1.034 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.7149, allocations: 33.16 kB / 1.034 GB, free: 50.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.7149, allocations: 6.781 kB / 1.034 GB, free: 50.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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.0001395/0.715, allocations: 224.3 kB / 1.034 GB, free: 50.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.7151, allocations: 19.81 kB / 1.034 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005186/0.7156, allocations: 283.5 kB / 1.035 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.7156, allocations: 3 kB / 1.035 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7157, allocations: 1.359 kB / 1.035 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.7157, allocations: 0.6562 kB / 1.035 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009567/0.7166, allocations: 0.687 MB / 1.035 GB, free: 49.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.7166, allocations: 2.562 kB / 1.035 GB, free: 49.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.7169, allocations: 48.78 kB / 1.035 GB, free: 49.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.7169, allocations: 4.156 kB / 1.035 GB, free: 49.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7169, allocations: 7.125 kB / 1.035 GB, free: 49.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.7169, allocations: 4.062 kB / 1.035 GB, free: 49.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7169, allocations: 8.578 kB / 1.035 GB, free: 49.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004954/0.7174, allocations: 457.1 kB / 1.036 GB, free: 49.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.7176, allocations: 123.1 kB / 1.036 GB, free: 49.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.7176, allocations: 2.688 kB / 1.036 GB, free: 49.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.7178, allocations: 26.98 kB / 1.036 GB, free: 49.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.7179, allocations: 14.14 kB / 1.036 GB, free: 49.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.7179, allocations: 4.656 kB / 1.036 GB, free: 49.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.515e-05/0.718, allocations: 135.2 kB / 1.036 GB, free: 49.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.718, allocations: 0 / 1.036 GB, free: 49.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000436/0.7184, allocations: 80.72 kB / 1.036 GB, free: 49.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0001214/0.7186, allocations: 113.5 kB / 1.036 GB, free: 49.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006932/0.7193, allocations: 384.7 kB / 1.037 GB, free: 48.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7193, allocations: 2.438 kB / 1.037 GB, free: 48.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.7195, allocations: 121.6 kB / 1.037 GB, free: 48.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.72, allocations: 43.88 kB / 1.037 GB, free: 48.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008251/0.7208, allocations: 0.5155 MB / 1.037 GB, free: 48.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.721, allocations: 0.7482 MB / 1.038 GB, free: 47.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.7213, allocations: 76.62 kB / 1.038 GB, free: 47.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.7214, allocations: 21.61 kB / 1.038 GB, free: 47.85 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.7214, allocations: 3.938 kB / 1.038 GB, free: 47.84 MB / 0.698 GB Notification: Performance of Templates: time 0.00533/0.7267, allocations: 2.121 MB / 1.04 GB, free: 47.71 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)