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.DynamicLoads.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.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") 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.494/1.494, allocations: 255.9 MB / 271.2 MB, free: 8.879 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.001226/0.001226, allocations: 190.4 kB / 330.8 MB, free: 468 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.709/1.709, allocations: 225.7 MB / 0.6016 GB, free: 1.582 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.0008648/0.0008648, allocations: 103.6 kB / 0.709 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2109, allocations: 109.2 MB / 0.9328 GB, free: 6.273 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002894/0.2139, allocations: 2.85 MB / 0.9355 GB, free: 3.41 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.2164, allocations: 3.002 MB / 0.9385 GB, free: 108 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.2165, allocations: 4 kB / 0.9385 GB, free: 104 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.2167, allocations: 43.62 kB / 0.9385 GB, free: 60 kB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.2172, allocations: 199.2 kB / 0.9387 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.2179, allocations: 263.5 kB / 0.939 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000555/0.2184, allocations: 0.5726 MB / 0.9395 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008596/0.2193, allocations: 0.6645 MB / 0.9402 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.2195, allocations: 143.4 kB / 0.9403 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.2199, allocations: 187.3 kB / 0.9405 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.2199, allocations: 20 kB / 0.9405 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.2204, allocations: 267.4 kB / 0.9408 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.2205, allocations: 107.7 kB / 0.9409 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.2207, allocations: 157 kB / 0.941 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005057/0.2212, allocations: 470.7 kB / 0.9415 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2212, allocations: 0 / 0.9415 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2212, allocations: 0 / 0.9415 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2212, allocations: 0 / 0.9415 GB, free: 12.95 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.0009235/0.2222, allocations: 0.542 MB / 0.942 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.2222, allocations: 15.97 kB / 0.942 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000702/0.2229, allocations: 92.47 kB / 0.9421 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.2233, allocations: 264.6 kB / 0.9423 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2233, allocations: 20.94 kB / 0.9424 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.2234, allocations: 48.31 kB / 0.9424 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.2241, allocations: 441.1 kB / 0.9428 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2241, allocations: 4 kB / 0.9428 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.2242, allocations: 12 kB / 0.9428 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/0.2243, allocations: 36.53 kB / 0.9429 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.2248, allocations: 353.9 kB / 0.9432 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.2272, allocations: 2.207 MB / 0.9454 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.2276, allocations: 262.4 kB / 0.9456 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.2279, allocations: 168.7 kB / 0.9458 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2279, allocations: 0 / 0.9458 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.2279, allocations: 46.5 kB / 0.9458 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.2279, allocations: 0 / 0.9458 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001775/0.2297, allocations: 1.05 MB / 0.9469 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.2298, allocations: 59.41 kB / 0.9469 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.23, allocations: 248.9 kB / 0.9472 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.2301, allocations: 29.7 kB / 0.9472 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.2302, allocations: 187.9 kB / 0.9474 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/0.2303, allocations: 82.83 kB / 0.9474 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.2303, allocations: 12 kB / 0.9474 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2304, allocations: 330.8 kB / 0.9478 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.2306, allocations: 147.9 kB / 0.9479 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.2309, allocations: 241.5 kB / 0.9481 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.2315, allocations: 402.8 kB / 0.9485 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2315, allocations: 3.938 kB / 0.9485 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001109/0.2326, allocations: 0.5776 MB / 0.9491 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2326, allocations: 11.91 kB / 0.9491 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2326, allocations: 4.312 kB / 0.9491 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007023/0.2333, allocations: 188.7 kB / 0.9493 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.2336, allocations: 67.83 kB / 0.9493 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.2364, allocations: 2.292 MB / 0.9516 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.2367, allocations: 19.92 kB / 0.9516 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.2367, allocations: 19.98 kB / 0.9516 GB, free: 1.875 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 (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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.2369, allocations: 159 kB / 0.9518 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.237, allocations: 31.64 kB / 0.9518 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005559/0.2376, allocations: 351.5 kB / 0.9521 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2376, allocations: 0 / 0.9521 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.2376, allocations: 0 / 0.9521 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2376, allocations: 0 / 0.9521 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.2387, allocations: 0.816 MB / 0.9529 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2387, allocations: 8.062 kB / 0.9529 GB, free: 456 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.2391, allocations: 67.94 kB / 0.953 GB, free: 388 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.2391, allocations: 4 kB / 0.953 GB, free: 384 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.2391, allocations: 4 kB / 0.953 GB, free: 380 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.2392, allocations: 4 kB / 0.953 GB, free: 376 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2392, allocations: 3.938 kB / 0.953 GB, free: 372 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.24, allocations: 0.6155 MB / 0.9536 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.2401, allocations: 132.8 kB / 0.9538 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.2402, allocations: 11.98 kB / 0.9538 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2404, allocations: 11.98 kB / 0.9538 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.2404, allocations: 11.98 kB / 0.9538 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.2404, allocations: 4 kB / 0.9538 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001742/0.2406, allocations: 180.5 kB / 0.954 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.563e-06/0.2406, allocations: 0 / 0.954 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003934/0.241, allocations: 99.88 kB / 0.9541 GB, free: 15.27 MB / 0.6042 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 (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.0001653/0.2412, allocations: 111.2 kB / 0.9542 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009396/0.2422, allocations: 0.5224 MB / 0.9547 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.2422, allocations: 4.188 kB / 0.9547 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.2424, allocations: 147.9 kB / 0.9548 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.2428, allocations: 54.78 kB / 0.9549 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.2446, allocations: 1.022 MB / 0.9559 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.245, allocations: 0.7912 MB / 0.9566 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.2453, allocations: 74.89 kB / 0.9567 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.2453, allocations: 23.44 kB / 0.9567 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of SimCode: time 7.02e-07/0.2453, allocations: 0 / 0.9567 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of Templates: time 0.00774/0.2531, allocations: 3.753 MB / 0.9604 GB, free: 8.695 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)