Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.712/1.712, allocations: 306.1 MB / 321.4 MB, free: 10.76 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.0009688/0.0009686, allocations: 179.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.53/1.53, allocations: 225.7 MB / 0.6743 GB, free: 12.64 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.0009467/0.0009473, allocations: 90.31 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 8 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.8008, allocations: 121.3 MB / 1.041 GB, free: 58.88 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006236/0.8071, allocations: 5.615 MB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006079/0.8132, allocations: 6.298 MB / 1.053 GB, free: 49.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005788/0.8138, allocations: 21.31 kB / 1.053 GB, free: 49.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005529/0.8144, allocations: 143.7 kB / 1.053 GB, free: 49.65 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.8165, allocations: 0.7062 MB / 1.053 GB, free: 49.26 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.8172, allocations: 287.2 kB / 1.054 GB, free: 49.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.819, allocations: 1.446 MB / 1.055 GB, free: 48.56 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000678/0.8197, allocations: 0.5411 MB / 1.056 GB, free: 48.29 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005726/0.8202, allocations: 400.3 kB / 1.056 GB, free: 48.13 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006454/0.8209, allocations: 476.5 kB / 1.056 GB, free: 47.95 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.786e-05/0.821, allocations: 32.5 kB / 1.056 GB, free: 47.95 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.8216, allocations: 294.3 kB / 1.057 GB, free: 47.86 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.8218, allocations: 205.5 kB / 1.057 GB, free: 47.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.8221, allocations: 386.9 kB / 1.057 GB, free: 47.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.8233, allocations: 1.028 MB / 1.058 GB, free: 47.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.8233, allocations: 5.062 kB / 1.058 GB, free: 47.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8233, allocations: 0 / 1.058 GB, free: 47.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.8234, allocations: 0 / 1.058 GB, free: 47.24 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001695/0.8251, allocations: 0.9785 MB / 1.059 GB, free: 46.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.8251, allocations: 8.156 kB / 1.059 GB, free: 46.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/0.8282, allocations: 0.6549 MB / 1.06 GB, free: 46.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.829, allocations: 0.5393 MB / 1.06 GB, free: 46.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.8291, allocations: 31.88 kB / 1.06 GB, free: 46.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.8292, allocations: 58.8 kB / 1.061 GB, free: 46.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.8312, allocations: 1.022 MB / 1.062 GB, free: 45.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.8312, allocations: 0 / 1.062 GB, free: 45.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-05/0.8313, allocations: 21.56 kB / 1.062 GB, free: 45.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-05/0.8313, allocations: 49.11 kB / 1.062 GB, free: 45.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.8336, allocations: 1.015 MB / 1.063 GB, free: 45.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.8375, allocations: 3.512 MB / 1.066 GB, free: 42.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.8389, allocations: 0.5349 MB / 1.067 GB, free: 42.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004951/0.8394, allocations: 249.2 kB / 1.067 GB, free: 42.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.8395, allocations: 3.312 kB / 1.067 GB, free: 42.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.8395, allocations: 34.56 kB / 1.067 GB, free: 42.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/0.8395, allocations: 0 / 1.067 GB, free: 42.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.006447/0.846, allocations: 2.225 MB / 1.069 GB, free: 41.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.846, allocations: 57.69 kB / 1.069 GB, free: 41.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/0.8466, allocations: 0.5623 MB / 1.07 GB, free: 41.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.8467, allocations: 37.05 kB / 1.07 GB, free: 41.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.8468, allocations: 353.2 kB / 1.07 GB, free: 40.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.57e-05/0.8469, allocations: 154.3 kB / 1.07 GB, free: 40.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.847, allocations: 8 kB / 1.07 GB, free: 40.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.8471, allocations: 379.4 kB / 1.07 GB, free: 40.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/0.8477, allocations: 266.9 kB / 1.071 GB, free: 40.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.8484, allocations: 384.1 kB / 1.071 GB, free: 40.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.8496, allocations: 0.6671 MB / 1.072 GB, free: 39.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.8497, allocations: 3.406 kB / 1.072 GB, free: 39.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002247/0.8519, allocations: 0.9792 MB / 1.073 GB, free: 39.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.852, allocations: 174.2 kB / 1.073 GB, free: 39.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.852, allocations: 7.219 kB / 1.073 GB, free: 39.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.8532, allocations: 278 kB / 1.073 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.8538, allocations: 123 kB / 1.073 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005458/0.8593, allocations: 8.481 MB / 1.082 GB, free: 30.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.86, allocations: 55.88 kB / 1.082 GB, free: 30.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.8601, allocations: 20.34 kB / 1.082 GB, free: 30.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.8601, allocations: 2.719 kB / 1.082 GB, free: 30.96 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002152/0.8623, allocations: 1.09 MB / 1.083 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8623, allocations: 4.719 kB / 1.083 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007571/0.8631, allocations: 217.7 kB / 1.083 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/0.8637, allocations: 130.6 kB / 1.083 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004463/0.8681, allocations: 8.157 MB / 1.091 GB, free: 22.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/0.8689, allocations: 63.08 kB / 1.091 GB, free: 22.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.869, allocations: 20.52 kB / 1.091 GB, free: 22.22 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00045/0.8694, allocations: 323.1 kB / 1.091 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.419e-05/0.8695, allocations: 68.53 kB / 1.091 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.8697, allocations: 75.33 kB / 1.091 GB, free: 21.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.8697, allocations: 7.219 kB / 1.091 GB, free: 21.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.8697, allocations: 3.281 kB / 1.091 GB, free: 21.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8697, allocations: 3.375 kB / 1.092 GB, free: 21.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.8704, allocations: 0.6495 MB / 1.092 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8704, allocations: 0 / 1.092 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.8709, allocations: 97.39 kB / 1.092 GB, free: 21.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009475/0.8718, allocations: 262.6 kB / 1.092 GB, free: 21.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.8719, allocations: 13.67 kB / 1.092 GB, free: 21.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005181/0.8771, allocations: 8.422 MB / 1.101 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.8771, allocations: 2.484 kB / 1.101 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.8795, allocations: 0.9584 MB / 1.102 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.8798, allocations: 181 kB / 1.102 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.8799, allocations: 14.16 kB / 1.102 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.8804, allocations: 51.23 kB / 1.102 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.8806, allocations: 49.41 kB / 1.102 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.8806, allocations: 13.75 kB / 1.102 GB, free: 12.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000502/0.8811, allocations: 396.5 kB / 1.102 GB, free: 12.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8811, allocations: 0 / 1.102 GB, free: 12.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001274/0.8824, allocations: 296.3 kB / 1.103 GB, free: 12.45 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001676/0.8826, allocations: 118.7 kB / 1.103 GB, free: 12.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003752/0.8864, allocations: 2.413 MB / 1.105 GB, free: 10.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8864, allocations: 0 / 1.105 GB, free: 10.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.8877, allocations: 1.028 MB / 1.106 GB, free: 9.887 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.8888, allocations: 207.3 kB / 1.106 GB, free: 9.824 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.8915, allocations: 1.612 MB / 1.108 GB, free: 8.891 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.8921, allocations: 0.9773 MB / 1.109 GB, free: 8.164 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006919/0.8928, allocations: 150.8 kB / 1.109 GB, free: 8.133 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.893, allocations: 49.06 kB / 1.109 GB, free: 8.125 MB / 0.698 GB Notification: Performance of SimCode: time 1.263e-06/0.893, allocations: 0 / 1.109 GB, free: 8.125 MB / 0.698 GB Notification: Performance of Templates: time 0.0259/0.9189, allocations: 12.84 MB / 1.122 GB, free: 7.363 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)