Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.221/2.221, allocations: 254.9 MB / 269.9 MB, free: 9.617 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.001988/0.001988, allocations: 189.9 kB / 329.5 MB, free: 1.141 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.558/2.558, allocations: 225.6 MB / 0.6001 GB, free: 476 kB / 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.0009802/0.0009801, allocations: 103.2 kB / 0.7074 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000657/0.0006572, allocations: 10.69 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1992, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004126/0.2034, allocations: 2.826 MB / 0.9335 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003553/0.207, allocations: 1.739 MB / 0.9352 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.2073, allocations: 7.938 kB / 0.9352 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.2075, allocations: 47.58 kB / 0.9353 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006243/0.2082, allocations: 167.2 kB / 0.9354 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008856/0.2091, allocations: 223.5 kB / 0.9357 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006468/0.2097, allocations: 482.5 kB / 0.9361 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009632/0.2107, allocations: 441.1 kB / 0.9365 GB, free: 18.9 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.211, allocations: 139.4 kB / 0.9367 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.2115, allocations: 187.4 kB / 0.9368 GB, free: 18.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.2116, allocations: 12 kB / 0.9369 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.212, allocations: 135.8 kB / 0.937 GB, free: 18.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.2122, allocations: 103.7 kB / 0.9371 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.2122, allocations: 77.52 kB / 0.9372 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.2127, allocations: 359.3 kB / 0.9375 GB, free: 17.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2127, allocations: 0 / 0.9375 GB, free: 17.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2128, allocations: 0 / 0.9375 GB, free: 17.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.2128, allocations: 0 / 0.9375 GB, free: 17.9 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001193/0.214, allocations: 0.5402 MB / 0.938 GB, free: 17.31 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.214, allocations: 8.031 kB / 0.938 GB, free: 17.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.2151, allocations: 92.45 kB / 0.9381 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.2158, allocations: 273.5 kB / 0.9384 GB, free: 16.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.2158, allocations: 20.94 kB / 0.9384 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/0.2161, allocations: 44.19 kB / 0.9385 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.2174, allocations: 441.1 kB / 0.9389 GB, free: 16.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.2175, allocations: 0 / 0.9389 GB, free: 16.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.957e-05/0.2176, allocations: 15.98 kB / 0.9389 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003351/0.218, allocations: 40.53 kB / 0.9389 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2191, allocations: 349.9 kB / 0.9393 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/0.224, allocations: 2.203 MB / 0.9414 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/0.225, allocations: 262.4 kB / 0.9417 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.2255, allocations: 167.4 kB / 0.9418 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.2255, allocations: 0 / 0.9418 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.2256, allocations: 42.94 kB / 0.9419 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 2.544e-06/0.2256, allocations: 0 / 0.9419 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.003645/0.2293, allocations: 1.047 MB / 0.9429 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2293, allocations: 55.41 kB / 0.9429 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.2298, allocations: 245 kB / 0.9432 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.2299, allocations: 33.7 kB / 0.9432 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.2301, allocations: 187.9 kB / 0.9434 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2302, allocations: 86.75 kB / 0.9435 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.2302, allocations: 4 kB / 0.9435 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.2304, allocations: 338.8 kB / 0.9438 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/0.2309, allocations: 151.9 kB / 0.9439 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.2315, allocations: 233.6 kB / 0.9442 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/0.2322, allocations: 189.3 kB / 0.9443 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2322, allocations: 0 / 0.9443 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002412/0.2346, allocations: 0.5935 MB / 0.9449 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.2347, allocations: 8 kB / 0.9449 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.2347, allocations: 0 / 0.9449 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.2364, allocations: 192.8 kB / 0.9451 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/0.2373, allocations: 59.91 kB / 0.9452 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004773/0.2421, allocations: 2.3 MB / 0.9474 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.2427, allocations: 15.98 kB / 0.9474 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.2427, allocations: 19.98 kB / 0.9474 GB, free: 7.09 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002342/0.243, allocations: 155.5 kB / 0.9476 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.2431, allocations: 27.7 kB / 0.9476 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008244/0.2439, allocations: 355.5 kB / 0.948 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.2439, allocations: 7.938 kB / 0.948 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2439, allocations: 4.062 kB / 0.948 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.244, allocations: 0 / 0.948 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.2455, allocations: 0.8065 MB / 0.9488 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.2455, allocations: 4 kB / 0.9488 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007637/0.2463, allocations: 79.81 kB / 0.9488 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.2463, allocations: 0 / 0.9488 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.2464, allocations: 8 kB / 0.9488 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.2464, allocations: 4 kB / 0.9489 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2464, allocations: 8.047 kB / 0.9489 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.2476, allocations: 0.6143 MB / 0.9495 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.2478, allocations: 124.8 kB / 0.9496 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.2479, allocations: 11.98 kB / 0.9496 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.2483, allocations: 11.98 kB / 0.9496 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.2483, allocations: 15.98 kB / 0.9496 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.2484, allocations: 8 kB / 0.9496 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002327/0.2486, allocations: 176.5 kB / 0.9498 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2486, allocations: 0 / 0.9498 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000599/0.2492, allocations: 88 kB / 0.9499 GB, free: 4.488 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002072/0.2495, allocations: 115.2 kB / 0.95 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.2508, allocations: 0.5296 MB / 0.9505 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.2508, allocations: 0 / 0.9505 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.2512, allocations: 150.8 kB / 0.9506 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.2532, allocations: 49.03 kB / 0.9507 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.2558, allocations: 1.01 MB / 0.9517 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2561, allocations: 0.7951 MB / 0.9525 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003919/0.2565, allocations: 70.92 kB / 0.9525 GB, free: 1.688 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.2567, allocations: 27.42 kB / 0.9526 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of SimCode: time 1.112e-06/0.2567, allocations: 0 / 0.9526 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.01122/0.2679, allocations: 3.656 MB / 0.9561 GB, free: 14.01 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)