Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 255.9 MB / 271.2 MB, free: 8.883 MB / 218.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.0009758/0.0009759, allocations: 186 kB / 330.8 MB, free: 476 kB / 250.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.625/1.625, allocations: 225.7 MB / 0.6016 GB, free: 15.93 MB / 442.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.001623/0.001622, allocations: 101.4 kB / 0.709 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003675, allocations: 7.812 kB / 0.8261 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2446, allocations: 109.2 MB / 0.9328 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003696/0.2484, allocations: 2.807 MB / 0.9355 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.2508, allocations: 2.13 MB / 0.9376 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.2511, allocations: 4 kB / 0.9376 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.2513, allocations: 47.58 kB / 0.9376 GB, free: 18.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005393/0.2519, allocations: 139.4 kB / 0.9378 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.2523, allocations: 147.7 kB / 0.9379 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.2529, allocations: 454.7 kB / 0.9383 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.2532, allocations: 248.9 kB / 0.9386 GB, free: 17.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.2535, allocations: 107.6 kB / 0.9387 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.2538, allocations: 143.5 kB / 0.9388 GB, free: 17.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.2539, allocations: 12 kB / 0.9388 GB, free: 17.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.2543, allocations: 203.6 kB / 0.939 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.651e-05/0.2544, allocations: 75.67 kB / 0.9391 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.2545, allocations: 129.2 kB / 0.9392 GB, free: 17.24 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.255, allocations: 355 kB / 0.9395 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.255, allocations: 8 kB / 0.9396 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.814e-06/0.255, allocations: 0 / 0.9396 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.255, allocations: 0 / 0.9396 GB, free: 16.89 MB / 0.5886 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.0008927/0.2559, allocations: 0.4951 MB / 0.94 GB, free: 16.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.256, allocations: 11.98 kB / 0.9401 GB, free: 16.33 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006034/0.2566, allocations: 88.58 kB / 0.9401 GB, free: 16.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.2569, allocations: 255.8 kB / 0.9404 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.2569, allocations: 16.75 kB / 0.9404 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.257, allocations: 20.38 kB / 0.9404 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.2574, allocations: 312.7 kB / 0.9407 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2574, allocations: 8 kB / 0.9407 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.2575, allocations: 4 kB / 0.9407 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.2575, allocations: 28.36 kB / 0.9408 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.2579, allocations: 205.6 kB / 0.9409 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.2592, allocations: 1.502 MB / 0.9424 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.2596, allocations: 199.7 kB / 0.9426 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.2597, allocations: 48.83 kB / 0.9427 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2597, allocations: 4 kB / 0.9427 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.2597, allocations: 42.5 kB / 0.9427 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.2597, allocations: 0 / 0.9427 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0005278/0.2603, allocations: 271.4 kB / 0.943 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.2603, allocations: 51.41 kB / 0.943 GB, free: 13 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.2605, allocations: 213 kB / 0.9432 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.2605, allocations: 25.7 kB / 0.9432 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.2606, allocations: 167.7 kB / 0.9434 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.2606, allocations: 39.47 kB / 0.9434 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.2606, allocations: 8 kB / 0.9434 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.321e-05/0.2607, allocations: 326.8 kB / 0.9437 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.749e-05/0.2608, allocations: 51.97 kB / 0.9438 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2609, allocations: 108.5 kB / 0.9439 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.2611, allocations: 172.4 kB / 0.9441 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2611, allocations: 0 / 0.9441 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003238/0.2614, allocations: 218.3 kB / 0.9443 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2615, allocations: 7.906 kB / 0.9443 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2615, allocations: 4 kB / 0.9443 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.2616, allocations: 28.78 kB / 0.9443 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.2618, allocations: 39.92 kB / 0.9443 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007713/0.2626, allocations: 1.32 MB / 0.9456 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.2627, allocations: 23.8 kB / 0.9457 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2627, allocations: 8 kB / 0.9457 GB, free: 10.03 MB / 0.5886 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.0001065/0.2629, allocations: 149.9 kB / 0.9458 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.2629, allocations: 19.75 kB / 0.9458 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.2629, allocations: 21.39 kB / 0.9459 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2629, allocations: 0 / 0.9459 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2629, allocations: 4 kB / 0.9459 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2629, allocations: 0 / 0.9459 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.2634, allocations: 495.1 kB / 0.9463 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2635, allocations: 0 / 0.9463 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.2635, allocations: 15.98 kB / 0.9463 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.012e-05/0.2636, allocations: 20.84 kB / 0.9464 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2636, allocations: 4.094 kB / 0.9464 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006292/0.2643, allocations: 1.327 MB / 0.9477 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2643, allocations: 3.984 kB / 0.9477 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.2645, allocations: 240.3 kB / 0.9479 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.2646, allocations: 104.8 kB / 0.948 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.2646, allocations: 4 kB / 0.948 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.2648, allocations: 11.98 kB / 0.948 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.2648, allocations: 7.984 kB / 0.948 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.2648, allocations: 4 kB / 0.948 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.33e-05/0.2649, allocations: 145.5 kB / 0.9482 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2649, allocations: 0 / 0.9482 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003009/0.2652, allocations: 55.84 kB / 0.9482 GB, free: 7.188 MB / 0.5886 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.0001084/0.2654, allocations: 108.2 kB / 0.9483 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.2658, allocations: 238.6 kB / 0.9485 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2658, allocations: 0 / 0.9485 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.266, allocations: 166.5 kB / 0.9487 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.2663, allocations: 40.84 kB / 0.9487 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.2669, allocations: 0.4914 MB / 0.9492 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.2671, allocations: 0.7557 MB / 0.95 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.2672, allocations: 33.52 kB / 0.95 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.2673, allocations: 11.44 kB / 0.95 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.2673, allocations: 0 / 0.95 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of Templates: time 0.004488/0.2718, allocations: 1.834 MB / 0.9518 GB, free: 3.449 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)