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.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") 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.466/1.466, allocations: 255.9 MB / 271.2 MB, free: 8.934 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.001012/0.001012, allocations: 186 kB / 330.8 MB, free: 0.5156 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 1.722/1.722, allocations: 225.7 MB / 0.6016 GB, free: 1.566 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.0008163/0.0008163, allocations: 101.4 kB / 0.709 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 9.188 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.183, allocations: 109.2 MB / 0.9328 GB, free: 6.273 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003211/0.1863, allocations: 3.403 MB / 0.9361 GB, free: 2.855 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.1884, allocations: 2.592 MB / 0.9386 GB, free: 36 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1885, allocations: 11.94 kB / 0.9386 GB, free: 24 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.1887, allocations: 55.56 kB / 0.9387 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.1893, allocations: 239 kB / 0.9389 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.1898, allocations: 227.6 kB / 0.9391 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006566/0.1905, allocations: 0.6973 MB / 0.9398 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.1909, allocations: 365.5 kB / 0.9401 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.1911, allocations: 151.4 kB / 0.9403 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.1914, allocations: 235.1 kB / 0.9405 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.1915, allocations: 16 kB / 0.9405 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.1918, allocations: 215.5 kB / 0.9407 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.192, allocations: 111.7 kB / 0.9408 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.1921, allocations: 188.8 kB / 0.941 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000526/0.1927, allocations: 490.5 kB / 0.9415 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1927, allocations: 0 / 0.9415 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1927, allocations: 0 / 0.9415 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1927, allocations: 0 / 0.9415 GB, free: 13.04 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009531/0.1937, allocations: 0.6043 MB / 0.9421 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1937, allocations: 11.98 kB / 0.9421 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/0.1942, allocations: 80.5 kB / 0.9422 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1946, allocations: 299.3 kB / 0.9425 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.1946, allocations: 21.03 kB / 0.9425 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.1947, allocations: 32.38 kB / 0.9425 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.1955, allocations: 0.4902 MB / 0.943 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1955, allocations: 3.938 kB / 0.943 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.1956, allocations: 12 kB / 0.943 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/0.1956, allocations: 40.62 kB / 0.943 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/0.1964, allocations: 378.3 kB / 0.9434 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.1984, allocations: 2.056 MB / 0.9454 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.199, allocations: 222.7 kB / 0.9456 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.1994, allocations: 168.8 kB / 0.9458 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1994, allocations: 4 kB / 0.9458 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1994, allocations: 38.5 kB / 0.9458 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.243e-06/0.1994, allocations: 0 / 0.9458 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.001079/0.2005, allocations: 455 kB / 0.9463 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.2005, allocations: 51.41 kB / 0.9463 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.2008, allocations: 270.5 kB / 0.9466 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2009, allocations: 29.7 kB / 0.9466 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.201, allocations: 207.8 kB / 0.9468 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.201, allocations: 63.09 kB / 0.9468 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.2011, allocations: 4 kB / 0.9469 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2012, allocations: 338.8 kB / 0.9472 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.2015, allocations: 108.4 kB / 0.9473 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.2018, allocations: 212.7 kB / 0.9475 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.2024, allocations: 329.4 kB / 0.9478 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2024, allocations: 11.88 kB / 0.9478 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007625/0.2032, allocations: 374.7 kB / 0.9482 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.2033, allocations: 190.2 kB / 0.9483 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2033, allocations: 11.92 kB / 0.9484 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.2035, allocations: 32.84 kB / 0.9484 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.2038, allocations: 83.89 kB / 0.9485 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.205, allocations: 1.335 MB / 0.9498 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.2053, allocations: 43.67 kB / 0.9498 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.2053, allocations: 16 kB / 0.9498 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.2053, allocations: 4 kB / 0.9498 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000654/0.206, allocations: 303.7 kB / 0.9501 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.206, allocations: 0 / 0.9501 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/0.206, allocations: 8 kB / 0.9501 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.2063, allocations: 80.03 kB / 0.9502 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2063, allocations: 11.92 kB / 0.9502 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.2065, allocations: 39.73 kB / 0.9503 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.2066, allocations: 12 kB / 0.9503 GB, free: 3.344 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002323/0.2068, allocations: 249.6 kB / 0.9505 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.2069, allocations: 27.72 kB / 0.9505 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.152e-05/0.207, allocations: 38.11 kB / 0.9506 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.207, allocations: 4 kB / 0.9506 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.207, allocations: 0 / 0.9506 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.207, allocations: 0 / 0.9506 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.2081, allocations: 0.7655 MB / 0.9513 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2081, allocations: 4.062 kB / 0.9513 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.2083, allocations: 43.91 kB / 0.9514 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.2085, allocations: 28.84 kB / 0.9514 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2085, allocations: 4 kB / 0.9514 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008999/0.2094, allocations: 1.327 MB / 0.9527 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.2094, allocations: 11.95 kB / 0.9527 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006551/0.2101, allocations: 392.9 kB / 0.9531 GB, free: 220 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2102, allocations: 112.8 kB / 0.9532 GB, free: 88 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.2102, allocations: 7.938 kB / 0.9532 GB, free: 80 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.2104, allocations: 27.98 kB / 0.9532 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.2105, allocations: 11.97 kB / 0.9532 GB, free: 40 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2105, allocations: 12 kB / 0.9532 GB, free: 28 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000199/0.2107, allocations: 178 kB / 0.9534 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2107, allocations: 0 / 0.9534 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005318/0.2113, allocations: 143.5 kB / 0.9535 GB, free: 15.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001145/0.2114, allocations: 115.2 kB / 0.9537 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.2124, allocations: 0.5034 MB / 0.9541 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2125, allocations: 0 / 0.9541 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.2128, allocations: 232.1 kB / 0.9544 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.2133, allocations: 67.88 kB / 0.9544 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/0.2142, allocations: 0.6988 MB / 0.9551 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.2146, allocations: 0.7957 MB / 0.9559 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002276/0.2148, allocations: 66.23 kB / 0.956 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.2149, allocations: 27.42 kB / 0.956 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2149, allocations: 0 / 0.956 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.006659/0.2215, allocations: 3.225 MB / 0.9591 GB, free: 9.914 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)