Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") 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.481/1.481, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.0009647/0.0009646, allocations: 181.8 kB / 330.8 MB, free: 456 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.716/1.716, allocations: 225.7 MB / 0.6016 GB, free: 15.86 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.0008932/0.0008932, allocations: 101.4 kB / 0.709 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004104, allocations: 8.812 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2366, allocations: 109.2 MB / 0.9328 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004001/0.2407, allocations: 2.288 MB / 0.935 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.2433, allocations: 1.933 MB / 0.9369 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.2435, allocations: 0 / 0.9369 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.2438, allocations: 31.72 kB / 0.9369 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006628/0.2445, allocations: 155.5 kB / 0.9371 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.245, allocations: 159.7 kB / 0.9372 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.2455, allocations: 363 kB / 0.9376 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006305/0.2462, allocations: 387 kB / 0.9379 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.2464, allocations: 87.62 kB / 0.938 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.2468, allocations: 115.6 kB / 0.9381 GB, free: 18.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.2468, allocations: 8 kB / 0.9381 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.2472, allocations: 179.6 kB / 0.9383 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.716e-05/0.2473, allocations: 59.86 kB / 0.9384 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.2474, allocations: 113.2 kB / 0.9385 GB, free: 17.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.2479, allocations: 291.3 kB / 0.9387 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2479, allocations: 3.938 kB / 0.9387 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2479, allocations: 0 / 0.9387 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.2479, allocations: 0 / 0.9387 GB, free: 17.7 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008867/0.2488, allocations: 471 kB / 0.9392 GB, free: 17.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2489, allocations: 17.05 kB / 0.9392 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006293/0.2495, allocations: 72.58 kB / 0.9393 GB, free: 17.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.2498, allocations: 236 kB / 0.9395 GB, free: 16.83 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.2499, allocations: 12.64 kB / 0.9395 GB, free: 16.82 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.2499, allocations: 16.38 kB / 0.9395 GB, free: 16.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.2506, allocations: 317.3 kB / 0.9398 GB, free: 16.47 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2506, allocations: 4 kB / 0.9398 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.2506, allocations: 4 kB / 0.9398 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.708e-05/0.2507, allocations: 28.27 kB / 0.9399 GB, free: 16.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.2513, allocations: 272.5 kB / 0.9401 GB, free: 16.17 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.253, allocations: 1.51 MB / 0.9416 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.2537, allocations: 253.1 kB / 0.9418 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.254, allocations: 141.6 kB / 0.942 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.254, allocations: 7.938 kB / 0.942 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.254, allocations: 34.5 kB / 0.942 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.013e-06/0.2541, allocations: 0 / 0.942 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0009676/0.255, allocations: 357.3 kB / 0.9424 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.2551, allocations: 81.11 kB / 0.9424 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.2553, allocations: 178.6 kB / 0.9426 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.2553, allocations: 29.73 kB / 0.9426 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.2554, allocations: 140.1 kB / 0.9428 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.2554, allocations: 55.19 kB / 0.9428 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.2554, allocations: 4 kB / 0.9428 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.2555, allocations: 330.8 kB / 0.9431 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.2558, allocations: 103.9 kB / 0.9432 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.2561, allocations: 173.9 kB / 0.9434 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.2567, allocations: 286.7 kB / 0.9437 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2567, allocations: 0 / 0.9437 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007033/0.2574, allocations: 321.4 kB / 0.944 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/0.2575, allocations: 143 kB / 0.9441 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.2575, allocations: 3.984 kB / 0.9441 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2576, allocations: 4 kB / 0.9441 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.258, allocations: 55.89 kB / 0.9442 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.258, allocations: 7.938 kB / 0.9442 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.2582, allocations: 39.72 kB / 0.9442 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.2583, allocations: 15.94 kB / 0.9442 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.2583, allocations: 8 kB / 0.9443 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005815/0.2589, allocations: 243.7 kB / 0.9445 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2589, allocations: 224 / 0.9445 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.2589, allocations: 8 kB / 0.9445 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.2592, allocations: 55.89 kB / 0.9446 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2592, allocations: 0 / 0.9446 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.2595, allocations: 31.88 kB / 0.9446 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.2595, allocations: 4 kB / 0.9446 GB, free: 11.29 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.2596, allocations: 230.9 kB / 0.9448 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.2597, allocations: 19.81 kB / 0.9448 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/0.2604, allocations: 271 kB / 0.9451 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.2604, allocations: 0 / 0.9451 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2604, allocations: 7.938 kB / 0.9451 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2604, allocations: 0 / 0.9451 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.2617, allocations: 0.6888 MB / 0.9458 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.2617, allocations: 8.125 kB / 0.9458 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.262, allocations: 47.89 kB / 0.9458 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.262, allocations: 4 kB / 0.9458 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.262, allocations: 4 kB / 0.9458 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.2621, allocations: 11.94 kB / 0.9458 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2621, allocations: 0 / 0.9458 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.2627, allocations: 465.8 kB / 0.9463 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.2628, allocations: 112.9 kB / 0.9464 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.2629, allocations: 8 kB / 0.9464 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.2632, allocations: 23.91 kB / 0.9464 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.2633, allocations: 15.98 kB / 0.9464 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.2633, allocations: 7.938 kB / 0.9464 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001162/0.2634, allocations: 135.1 kB / 0.9466 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2634, allocations: 0 / 0.9466 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006757/0.2641, allocations: 87.78 kB / 0.9467 GB, free: 9.043 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001302/0.2643, allocations: 107.2 kB / 0.9468 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009449/0.2652, allocations: 383.8 kB / 0.9471 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2652, allocations: 0 / 0.9471 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.2655, allocations: 116.7 kB / 0.9472 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006669/0.2662, allocations: 51.89 kB / 0.9473 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009042/0.2671, allocations: 0.5105 MB / 0.9478 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.2674, allocations: 0.7441 MB / 0.9485 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002992/0.2677, allocations: 81.39 kB / 0.9486 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.411e-05/0.2678, allocations: 23.38 kB / 0.9486 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of SimCode: time 3.5e-07/0.2678, allocations: 0 / 0.9486 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of Templates: time 0.006323/0.2742, allocations: 2.134 MB / 0.9507 GB, free: 4.832 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)