Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") 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.769/1.769, allocations: 297.4 MB / 312.6 MB, free: 2.883 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.001014/0.001014, allocations: 190 kB / 382.3 MB, free: 14.78 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.466/1.466, allocations: 225.7 MB / 0.6617 GB, free: 7.203 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.000799/0.0007992, allocations: 88.92 kB / 0.7789 GB, free: 46.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 8 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6985/0.6989, allocations: 119.2 MB / 1.022 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00338/0.7023, allocations: 2.809 MB / 1.025 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.7042, allocations: 2.131 MB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.7044, allocations: 6.844 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.7045, allocations: 39.64 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.7049, allocations: 141.7 kB / 1.027 GB, free: 54.72 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.7053, allocations: 132 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.7057, allocations: 461.7 kB / 1.028 GB, free: 54.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.706, allocations: 241.9 kB / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.7062, allocations: 113.8 kB / 1.028 GB, free: 54.3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.7065, allocations: 147.6 kB / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.7065, allocations: 14.2 kB / 1.028 GB, free: 54.24 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.7069, allocations: 199.5 kB / 1.029 GB, free: 54.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.564e-05/0.707, allocations: 70.53 kB / 1.029 GB, free: 54.15 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.7071, allocations: 135.5 kB / 1.029 GB, free: 54.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.7075, allocations: 353.3 kB / 1.029 GB, free: 53.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7076, allocations: 0 / 1.029 GB, free: 53.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7076, allocations: 0.625 kB / 1.029 GB, free: 53.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7076, allocations: 3.938 kB / 1.029 GB, free: 53.95 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007549/0.7083, allocations: 0.4982 MB / 1.03 GB, free: 53.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.7084, allocations: 8.781 kB / 1.03 GB, free: 53.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000532/0.7089, allocations: 89.88 kB / 1.03 GB, free: 53.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.7092, allocations: 246.9 kB / 1.03 GB, free: 53.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.7092, allocations: 16.22 kB / 1.03 GB, free: 53.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.7092, allocations: 25.16 kB / 1.03 GB, free: 53.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.7097, allocations: 316.6 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.7097, allocations: 1.688 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.7098, allocations: 10.5 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.7098, allocations: 16.39 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.7102, allocations: 218.1 kB / 1.03 GB, free: 53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.7115, allocations: 1.505 MB / 1.032 GB, free: 51.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.7119, allocations: 204.8 kB / 1.032 GB, free: 51.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.712, allocations: 49.59 kB / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.712, allocations: 1.219 kB / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.712, allocations: 33.44 kB / 1.032 GB, free: 51.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.712, allocations: 0 / 1.032 GB, free: 51.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004971/0.7125, allocations: 267.8 kB / 1.032 GB, free: 51.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.7126, allocations: 53.28 kB / 1.033 GB, free: 51.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.7127, allocations: 208.3 kB / 1.033 GB, free: 51.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.7127, allocations: 28.92 kB / 1.033 GB, free: 51.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.7128, allocations: 177.1 kB / 1.033 GB, free: 50.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.7128, allocations: 37.12 kB / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.7129, allocations: 0 / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.7129, allocations: 329.8 kB / 1.033 GB, free: 50.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.713, allocations: 45.12 kB / 1.033 GB, free: 50.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.7131, allocations: 115.5 kB / 1.033 GB, free: 50.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.7134, allocations: 174.9 kB / 1.034 GB, free: 50.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7134, allocations: 0 / 1.034 GB, free: 50.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003307/0.7137, allocations: 223.1 kB / 1.034 GB, free: 50.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.7137, allocations: 10.25 kB / 1.034 GB, free: 50.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.7137, allocations: 3.531 kB / 1.034 GB, free: 50.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.7139, allocations: 26.47 kB / 1.034 GB, free: 50.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.714, allocations: 39.84 kB / 1.034 GB, free: 50.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000797/0.7149, allocations: 1.319 MB / 1.035 GB, free: 48.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.715, allocations: 22.73 kB / 1.035 GB, free: 48.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.715, allocations: 9.422 kB / 1.035 GB, free: 48.8 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 (18): * Single equations (assignments): 17 * 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.0001223/0.7152, allocations: 148.2 kB / 1.035 GB, free: 48.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.7152, allocations: 19.03 kB / 1.035 GB, free: 48.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.7152, allocations: 23.48 kB / 1.035 GB, free: 48.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7152, allocations: 2.75 kB / 1.035 GB, free: 48.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.7152, allocations: 4.094 kB / 1.035 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.7153, allocations: 1.172 kB / 1.035 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.7158, allocations: 490.7 kB / 1.036 GB, free: 48.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7158, allocations: 0 / 1.036 GB, free: 48.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.7159, allocations: 18.94 kB / 1.036 GB, free: 48.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-05/0.716, allocations: 24.75 kB / 1.036 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.716, allocations: 3.656 kB / 1.036 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005981/0.7166, allocations: 1.326 MB / 1.037 GB, free: 46.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7166, allocations: 0 / 1.037 GB, free: 46.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.7168, allocations: 234.6 kB / 1.037 GB, free: 46.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.7169, allocations: 104.4 kB / 1.037 GB, free: 46.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.7169, allocations: 6.781 kB / 1.038 GB, free: 46.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.717, allocations: 7.547 kB / 1.038 GB, free: 46.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.7171, allocations: 10.81 kB / 1.038 GB, free: 46.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.7171, allocations: 6.062 kB / 1.038 GB, free: 46.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.624e-05/0.7172, allocations: 148.7 kB / 1.038 GB, free: 46.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.42e-07/0.7172, allocations: 0 / 1.038 GB, free: 46.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003031/0.7175, allocations: 61 kB / 1.038 GB, free: 46.52 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 (7): * Single equations (assignments): 6 * 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.0001001/0.7176, allocations: 113 kB / 1.038 GB, free: 46.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.718, allocations: 235.5 kB / 1.038 GB, free: 46.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7181, allocations: 0 / 1.038 GB, free: 46.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.7182, allocations: 167.9 kB / 1.038 GB, free: 46.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.7186, allocations: 30.44 kB / 1.038 GB, free: 46.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.7192, allocations: 0.4978 MB / 1.039 GB, free: 45.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.7194, allocations: 0.7541 MB / 1.039 GB, free: 45.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.7195, allocations: 28.31 kB / 1.039 GB, free: 45.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.7195, allocations: 15.16 kB / 1.04 GB, free: 45.09 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.7195, allocations: 0 / 1.04 GB, free: 45.09 MB / 0.698 GB Notification: Performance of Templates: time 0.004541/0.7241, allocations: 1.826 MB / 1.041 GB, free: 44.95 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)