Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.45/2.45, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001409/0.001409, allocations: 199.7 kB / 329.5 MB, free: 1.16 MB / 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 2.553/2.553, allocations: 225.6 MB / 0.6001 GB, free: 0.5195 MB / 426.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.0009578/0.0009579, allocations: 102.4 kB / 0.7074 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005064, allocations: 10.56 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2299, allocations: 109.1 MB / 0.9308 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004441/0.2344, allocations: 2.779 MB / 0.9335 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.2372, allocations: 1.282 MB / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.2374, allocations: 7.938 kB / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.2377, allocations: 39.7 kB / 0.9348 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.2381, allocations: 119.4 kB / 0.9349 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.2387, allocations: 99.75 kB / 0.935 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.2392, allocations: 386.5 kB / 0.9354 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.2395, allocations: 231.2 kB / 0.9356 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.2398, allocations: 115.5 kB / 0.9357 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.2401, allocations: 143.5 kB / 0.9358 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.2402, allocations: 12 kB / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.2405, allocations: 75.89 kB / 0.9359 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.819e-05/0.2406, allocations: 75.78 kB / 0.936 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.2407, allocations: 65.58 kB / 0.936 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.241, allocations: 259.6 kB / 0.9363 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2411, allocations: 0 / 0.9363 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2411, allocations: 4 kB / 0.9363 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2411, allocations: 0 / 0.9363 GB, free: 19.19 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.0009602/0.242, allocations: 0.5068 MB / 0.9368 GB, free: 18.63 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2421, allocations: 8.031 kB / 0.9368 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008091/0.2429, allocations: 84.58 kB / 0.9369 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.2433, allocations: 253.6 kB / 0.9371 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.2433, allocations: 16.81 kB / 0.9371 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.2434, allocations: 16.38 kB / 0.9371 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.2441, allocations: 316.6 kB / 0.9374 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.2441, allocations: 3.938 kB / 0.9375 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.2441, allocations: 12 kB / 0.9375 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/0.2442, allocations: 16.42 kB / 0.9375 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.2448, allocations: 217.5 kB / 0.9377 GB, free: 17.65 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.2467, allocations: 1.494 MB / 0.9391 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.2473, allocations: 207.6 kB / 0.9393 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.2475, allocations: 48.83 kB / 0.9394 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.2475, allocations: 3.984 kB / 0.9394 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.2476, allocations: 46.56 kB / 0.9394 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.786e-06/0.2476, allocations: 0 / 0.9394 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0007797/0.2484, allocations: 263.4 kB / 0.9397 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.2484, allocations: 59.41 kB / 0.9397 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.2486, allocations: 209 kB / 0.9399 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.2487, allocations: 25.7 kB / 0.94 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.2488, allocations: 175.6 kB / 0.9401 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.2488, allocations: 31.55 kB / 0.9402 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.2488, allocations: 0 / 0.9402 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.2489, allocations: 330.8 kB / 0.9405 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2491, allocations: 47.97 kB / 0.9405 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.2493, allocations: 112.6 kB / 0.9406 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.2495, allocations: 63.91 kB / 0.9407 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2495, allocations: 0 / 0.9407 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005685/0.2501, allocations: 218.2 kB / 0.9409 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2501, allocations: 8 kB / 0.9409 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2501, allocations: 0 / 0.9409 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.2504, allocations: 28.84 kB / 0.9409 GB, free: 14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.2506, allocations: 35.86 kB / 0.941 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.2517, allocations: 1.335 MB / 0.9423 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.252, allocations: 24 kB / 0.9423 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.252, allocations: 4 kB / 0.9423 GB, free: 12.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.2523, allocations: 149.7 kB / 0.9424 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.2523, allocations: 19.75 kB / 0.9425 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.2524, allocations: 21.39 kB / 0.9425 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2524, allocations: 4 kB / 0.9425 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2524, allocations: 0 / 0.9425 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2524, allocations: 0 / 0.9425 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008152/0.2532, allocations: 495.1 kB / 0.943 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2532, allocations: 96 / 0.943 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.2534, allocations: 19.88 kB / 0.943 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.2535, allocations: 24.84 kB / 0.943 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2535, allocations: 0 / 0.943 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.2546, allocations: 1.327 MB / 0.9443 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2546, allocations: 4.156 kB / 0.9443 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.2551, allocations: 236.2 kB / 0.9445 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/0.2552, allocations: 108.8 kB / 0.9446 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.2552, allocations: 0 / 0.9446 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.2554, allocations: 8 kB / 0.9446 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.2555, allocations: 7.984 kB / 0.9446 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.2555, allocations: 8 kB / 0.9447 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001568/0.2557, allocations: 145.5 kB / 0.9448 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2557, allocations: 0 / 0.9448 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004586/0.2562, allocations: 55.84 kB / 0.9448 GB, free: 9.617 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000125/0.2563, allocations: 103.2 kB / 0.9449 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006082/0.2569, allocations: 234.5 kB / 0.9452 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.257, allocations: 0 / 0.9452 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.2573, allocations: 167.1 kB / 0.9453 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.2578, allocations: 39.91 kB / 0.9454 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009243/0.2587, allocations: 480.6 kB / 0.9458 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.259, allocations: 0.7557 MB / 0.9466 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001902/0.2592, allocations: 33.52 kB / 0.9466 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.2593, allocations: 15.44 kB / 0.9466 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of SimCode: time 1.503e-06/0.2593, allocations: 0 / 0.9466 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of Templates: time 0.007/0.2663, allocations: 1.766 MB / 0.9483 GB, free: 5.969 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)