Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.764/1.764, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.001356/0.001356, allocations: 171.8 kB / 393.1 MB, free: 4.078 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.506/1.506, allocations: 225.7 MB / 0.6743 GB, free: 12.53 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.0008531/0.0008529, allocations: 95.84 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003986, allocations: 8 kB / 0.9224 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.6744, allocations: 121.3 MB / 1.041 GB, free: 58.59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004699/0.6791, allocations: 3.382 MB / 1.044 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.6818, allocations: 2.85 MB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.682, allocations: 14.78 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.6822, allocations: 55.98 kB / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.6827, allocations: 214.5 kB / 1.047 GB, free: 53.6 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.6832, allocations: 187.7 kB / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006093/0.6838, allocations: 0.6543 MB / 1.048 GB, free: 53.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.6842, allocations: 318.6 kB / 1.048 GB, free: 53.12 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.6844, allocations: 156.8 kB / 1.049 GB, free: 53.06 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.6847, allocations: 203.4 kB / 1.049 GB, free: 52.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.6848, allocations: 15.34 kB / 1.049 GB, free: 52.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.6852, allocations: 301.2 kB / 1.049 GB, free: 52.88 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.6853, allocations: 104.7 kB / 1.049 GB, free: 52.85 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.6855, allocations: 175.8 kB / 1.049 GB, free: 52.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.686, allocations: 0.5 MB / 1.05 GB, free: 52.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.686, allocations: 4 kB / 1.05 GB, free: 52.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/0.686, allocations: 1.594 kB / 1.05 GB, free: 52.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.686, allocations: 0 / 1.05 GB, free: 52.58 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.000783/0.6868, allocations: 0.567 MB / 1.05 GB, free: 52.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.6869, allocations: 12.16 kB / 1.05 GB, free: 52.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008084/0.6877, allocations: 137.7 kB / 1.05 GB, free: 52.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.688, allocations: 290.8 kB / 1.051 GB, free: 51.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.688, allocations: 25.19 kB / 1.051 GB, free: 51.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.6881, allocations: 30.77 kB / 1.051 GB, free: 51.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.6887, allocations: 457.4 kB / 1.051 GB, free: 51.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.6887, allocations: 4.328 kB / 1.051 GB, free: 51.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.6888, allocations: 15.7 kB / 1.051 GB, free: 51.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.6888, allocations: 31.59 kB / 1.051 GB, free: 51.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004931/0.6893, allocations: 320.4 kB / 1.052 GB, free: 51.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.691, allocations: 2.194 MB / 1.054 GB, free: 49.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.6914, allocations: 251.5 kB / 1.054 GB, free: 49.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.6916, allocations: 109.1 kB / 1.054 GB, free: 49.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.6916, allocations: 8.188 kB / 1.054 GB, free: 49.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.6917, allocations: 36.66 kB / 1.054 GB, free: 49.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.6917, allocations: 0 / 1.054 GB, free: 49.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005517/0.6922, allocations: 296.3 kB / 1.054 GB, free: 49.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.6923, allocations: 53.59 kB / 1.054 GB, free: 48.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.6925, allocations: 267.8 kB / 1.055 GB, free: 48.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.6925, allocations: 37.64 kB / 1.055 GB, free: 48.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.6926, allocations: 215.1 kB / 1.055 GB, free: 48.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.6927, allocations: 50.56 kB / 1.055 GB, free: 48.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.6927, allocations: 0 / 1.055 GB, free: 48.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.6927, allocations: 338.3 kB / 1.055 GB, free: 48.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.6928, allocations: 54.78 kB / 1.055 GB, free: 48.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.693, allocations: 142.7 kB / 1.055 GB, free: 48.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.6932, allocations: 220.2 kB / 1.056 GB, free: 47.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6932, allocations: 0 / 1.056 GB, free: 47.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003716/0.6936, allocations: 262.8 kB / 1.056 GB, free: 47.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.6936, allocations: 13.44 kB / 1.056 GB, free: 47.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.6936, allocations: 3.25 kB / 1.056 GB, free: 47.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.6938, allocations: 28.94 kB / 1.056 GB, free: 47.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.694, allocations: 47.89 kB / 1.056 GB, free: 47.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008492/0.6949, allocations: 1.317 MB / 1.057 GB, free: 46.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.695, allocations: 27.12 kB / 1.057 GB, free: 46.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.6951, allocations: 15.02 kB / 1.057 GB, free: 46.44 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0001394/0.6952, allocations: 167 kB / 1.058 GB, free: 46.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.6953, allocations: 28.03 kB / 1.058 GB, free: 46.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.6953, allocations: 31.98 kB / 1.058 GB, free: 46.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.6953, allocations: 3.281 kB / 1.058 GB, free: 46.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6953, allocations: 3.938 kB / 1.058 GB, free: 46.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6953, allocations: 1.031 kB / 1.058 GB, free: 46.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007808/0.6961, allocations: 0.7014 MB / 1.058 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6961, allocations: 1.547 kB / 1.058 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.751e-05/0.6962, allocations: 29.8 kB / 1.058 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-05/0.6963, allocations: 20.25 kB / 1.058 GB, free: 45.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6963, allocations: 9.312 kB / 1.058 GB, free: 45.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006575/0.697, allocations: 1.32 MB / 1.06 GB, free: 44.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.697, allocations: 1.531 kB / 1.06 GB, free: 44.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.6973, allocations: 313.4 kB / 1.06 GB, free: 44.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.6974, allocations: 119.6 kB / 1.06 GB, free: 44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.6975, allocations: 7.125 kB / 1.06 GB, free: 43.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.6976, allocations: 8.672 kB / 1.06 GB, free: 43.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.6977, allocations: 23.27 kB / 1.06 GB, free: 43.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.6977, allocations: 3.969 kB / 1.06 GB, free: 43.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000166/0.6978, allocations: 190 kB / 1.06 GB, free: 43.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6979, allocations: 7.938 kB / 1.06 GB, free: 43.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003691/0.6982, allocations: 83.97 kB / 1.06 GB, free: 43.84 MB / 0.698 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 (14): * Single equations (assignments): 13 * 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.0001034/0.6983, allocations: 102.7 kB / 1.06 GB, free: 43.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.6987, allocations: 272.9 kB / 1.061 GB, free: 43.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6988, allocations: 4.812 kB / 1.061 GB, free: 43.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.6989, allocations: 183.5 kB / 1.061 GB, free: 43.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.6994, allocations: 53.91 kB / 1.061 GB, free: 43.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007291/0.7001, allocations: 0.6734 MB / 1.062 GB, free: 42.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.7004, allocations: 0.7913 MB / 1.062 GB, free: 42.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000141/0.7005, allocations: 42.67 kB / 1.062 GB, free: 42.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.7006, allocations: 19.66 kB / 1.062 GB, free: 42.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.7006, allocations: 0 / 1.062 GB, free: 42.25 MB / 0.698 GB Notification: Performance of Templates: time 0.005594/0.7062, allocations: 2.568 MB / 1.065 GB, free: 42.05 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)