Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.929/1.929, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001253/0.001253, allocations: 175.5 kB / 393.1 MB, free: 4.082 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.479/1.479, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000832/0.0008319, allocations: 94.17 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000565/0.0005654, allocations: 11.98 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6713/0.6719, allocations: 121.3 MB / 1.041 GB, free: 58.4 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00364/0.6755, allocations: 2.683 MB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.6778, allocations: 2.082 MB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.6779, allocations: 3.625 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.6781, allocations: 41.09 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.6785, allocations: 143.8 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.6788, allocations: 118.5 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004504/0.6793, allocations: 441.2 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.6796, allocations: 231.7 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.6798, allocations: 108.2 kB / 1.047 GB, free: 54.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.6801, allocations: 135.3 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.6801, allocations: 9.5 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.6804, allocations: 194.5 kB / 1.047 GB, free: 54.13 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.768e-05/0.6805, allocations: 70.11 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.6807, allocations: 127.3 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.6811, allocations: 335.4 kB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6811, allocations: 3.938 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6811, allocations: 0.6562 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.6811, allocations: 0 / 1.047 GB, free: 53.92 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006965/0.6818, allocations: 486 kB / 1.048 GB, free: 53.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.6819, allocations: 8.781 kB / 1.048 GB, free: 53.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/0.6824, allocations: 78.3 kB / 1.048 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.6826, allocations: 251.2 kB / 1.048 GB, free: 53.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.6827, allocations: 12.59 kB / 1.048 GB, free: 53.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.6827, allocations: 21.5 kB / 1.048 GB, free: 53.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.6832, allocations: 298.1 kB / 1.049 GB, free: 53.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6832, allocations: 1.062 kB / 1.049 GB, free: 53.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.6832, allocations: 9.406 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.6833, allocations: 20.95 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.6836, allocations: 195.5 kB / 1.049 GB, free: 52.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.6849, allocations: 1.461 MB / 1.05 GB, free: 51.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.6851, allocations: 179.1 kB / 1.05 GB, free: 51.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.6852, allocations: 35.2 kB / 1.05 GB, free: 51.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.6852, allocations: 5.219 kB / 1.05 GB, free: 51.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.6853, allocations: 35.81 kB / 1.05 GB, free: 51.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.417e-06/0.6853, allocations: 0 / 1.05 GB, free: 51.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004551/0.6857, allocations: 222.2 kB / 1.051 GB, free: 51.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.6858, allocations: 56 kB / 1.051 GB, free: 51.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.6859, allocations: 195.6 kB / 1.051 GB, free: 51.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.6859, allocations: 29.7 kB / 1.051 GB, free: 51.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.686, allocations: 165 kB / 1.051 GB, free: 50.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.6861, allocations: 21.97 kB / 1.051 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.6861, allocations: 6 kB / 1.051 GB, free: 50.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.223e-05/0.6861, allocations: 325.5 kB / 1.051 GB, free: 50.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.6862, allocations: 37.94 kB / 1.051 GB, free: 50.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-05/0.6863, allocations: 108 kB / 1.052 GB, free: 50.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.6865, allocations: 149 kB / 1.052 GB, free: 50.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6865, allocations: 5.312 kB / 1.052 GB, free: 50.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002734/0.6868, allocations: 183.4 kB / 1.052 GB, free: 50.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6868, allocations: 6.844 kB / 1.052 GB, free: 50.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6868, allocations: 3.688 kB / 1.052 GB, free: 50.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.687, allocations: 25.45 kB / 1.052 GB, free: 50.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.6871, allocations: 23.05 kB / 1.052 GB, free: 50.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007744/0.6879, allocations: 1.329 MB / 1.053 GB, free: 48.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.688, allocations: 22.22 kB / 1.053 GB, free: 48.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.688, allocations: 4.312 kB / 1.053 GB, free: 48.88 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.6881, allocations: 151.8 kB / 1.053 GB, free: 48.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.6882, allocations: 19.41 kB / 1.053 GB, free: 48.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.6882, allocations: 17.12 kB / 1.053 GB, free: 48.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6882, allocations: 2.156 kB / 1.053 GB, free: 48.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.6882, allocations: 0 / 1.053 GB, free: 48.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.6882, allocations: 0 / 1.053 GB, free: 48.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.6887, allocations: 439.1 kB / 1.054 GB, free: 48.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6887, allocations: 1.594 kB / 1.054 GB, free: 48.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.6887, allocations: 12.64 kB / 1.054 GB, free: 48.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.656e-05/0.6888, allocations: 20.42 kB / 1.054 GB, free: 48.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.6888, allocations: 2.203 kB / 1.054 GB, free: 48.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006283/0.6895, allocations: 1.314 MB / 1.055 GB, free: 47.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6895, allocations: 6.344 kB / 1.055 GB, free: 47.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.6897, allocations: 211.8 kB / 1.055 GB, free: 46.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.6898, allocations: 102.8 kB / 1.055 GB, free: 46.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.6898, allocations: 9.312 kB / 1.055 GB, free: 46.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.6899, allocations: 8.672 kB / 1.055 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.6899, allocations: 12.31 kB / 1.055 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.6899, allocations: 1.562 kB / 1.055 GB, free: 46.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001068/0.6901, allocations: 139.4 kB / 1.056 GB, free: 46.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.6901, allocations: 0 / 1.056 GB, free: 46.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002807/0.6904, allocations: 52.25 kB / 1.056 GB, free: 46.61 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001088/0.6905, allocations: 112.3 kB / 1.056 GB, free: 46.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.6908, allocations: 199.9 kB / 1.056 GB, free: 46.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6908, allocations: 288 / 1.056 GB, free: 46.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.6909, allocations: 150.2 kB / 1.056 GB, free: 46.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.6913, allocations: 38.11 kB / 1.056 GB, free: 46.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.6919, allocations: 443.7 kB / 1.057 GB, free: 45.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.6921, allocations: 0.7466 MB / 1.057 GB, free: 45.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.251e-05/0.6922, allocations: 21.47 kB / 1.057 GB, free: 45.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.6922, allocations: 18.75 kB / 1.057 GB, free: 45.22 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.6922, allocations: 0 / 1.057 GB, free: 45.22 MB / 0.698 GB Notification: Performance of Templates: time 0.004474/0.6967, allocations: 1.677 MB / 1.059 GB, free: 45.09 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)