Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.741/1.741, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.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.001102/0.001101, allocations: 175.5 kB / 393.1 MB, free: 4.066 MB / 314.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.511/1.511, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000786/0.0007863, allocations: 97.36 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003659, allocations: 11.66 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6994/0.6998, allocations: 121.3 MB / 1.041 GB, free: 58.72 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003941/0.7038, allocations: 3.411 MB / 1.044 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.7065, allocations: 2.583 MB / 1.047 GB, free: 54.21 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.7067, allocations: 9.781 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.707, allocations: 59.73 kB / 1.047 GB, free: 54.17 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005942/0.7076, allocations: 227.2 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.7082, allocations: 234 kB / 1.047 GB, free: 53.94 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006681/0.7089, allocations: 0.7005 MB / 1.048 GB, free: 53.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.7093, allocations: 361.6 kB / 1.048 GB, free: 53.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.7095, allocations: 158.1 kB / 1.048 GB, free: 53.42 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.7099, allocations: 231.2 kB / 1.049 GB, free: 53.33 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.7099, allocations: 15.84 kB / 1.049 GB, free: 53.33 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.7103, allocations: 218.5 kB / 1.049 GB, free: 53.26 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.7104, allocations: 118.2 kB / 1.049 GB, free: 53.21 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.7106, allocations: 190.6 kB / 1.049 GB, free: 53.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.711, allocations: 487.2 kB / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7111, allocations: 0 / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7111, allocations: 1.969 kB / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.7111, allocations: 3.875 kB / 1.05 GB, free: 52.95 MB / 0.698 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.0009035/0.712, allocations: 0.5943 MB / 1.05 GB, free: 52.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.712, allocations: 9.578 kB / 1.05 GB, free: 52.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004992/0.7125, allocations: 88.52 kB / 1.05 GB, free: 52.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.7129, allocations: 290.8 kB / 1.051 GB, free: 52.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.7129, allocations: 19.12 kB / 1.051 GB, free: 52.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.7129, allocations: 32.95 kB / 1.051 GB, free: 52.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/0.7137, allocations: 493.7 kB / 1.051 GB, free: 51.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.7137, allocations: 10.94 kB / 1.051 GB, free: 51.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.7137, allocations: 11.25 kB / 1.051 GB, free: 51.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/0.7138, allocations: 42.45 kB / 1.051 GB, free: 51.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000713/0.7145, allocations: 385 kB / 1.052 GB, free: 51.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.7163, allocations: 2.053 MB / 1.054 GB, free: 50.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005828/0.7169, allocations: 218.4 kB / 1.054 GB, free: 49.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/0.7173, allocations: 184.6 kB / 1.054 GB, free: 49.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.7173, allocations: 2.719 kB / 1.054 GB, free: 49.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.7174, allocations: 35.09 kB / 1.054 GB, free: 49.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.7174, allocations: 2.5 kB / 1.054 GB, free: 49.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001125/0.7185, allocations: 449.9 kB / 1.054 GB, free: 49.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.7185, allocations: 56.84 kB / 1.054 GB, free: 49.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.7188, allocations: 254.5 kB / 1.055 GB, free: 49.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.7188, allocations: 30.45 kB / 1.055 GB, free: 49.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.7189, allocations: 212.9 kB / 1.055 GB, free: 49.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.719, allocations: 64.02 kB / 1.055 GB, free: 49.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.719, allocations: 10.22 kB / 1.055 GB, free: 49.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.7191, allocations: 339.8 kB / 1.055 GB, free: 48.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.7193, allocations: 94.92 kB / 1.055 GB, free: 48.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.7196, allocations: 213.9 kB / 1.056 GB, free: 48.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.7202, allocations: 332.8 kB / 1.056 GB, free: 48.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.7202, allocations: 1 kB / 1.056 GB, free: 48.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000705/0.7209, allocations: 376.8 kB / 1.056 GB, free: 48.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.009e-05/0.721, allocations: 202.4 kB / 1.056 GB, free: 48.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.721, allocations: 4.188 kB / 1.056 GB, free: 48.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.7212, allocations: 37.45 kB / 1.057 GB, free: 48.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.7215, allocations: 67.95 kB / 1.057 GB, free: 48.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.7226, allocations: 1.338 MB / 1.058 GB, free: 46.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.7228, allocations: 54.08 kB / 1.058 GB, free: 46.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.7229, allocations: 11.69 kB / 1.058 GB, free: 46.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/0.7229, allocations: 3.156 kB / 1.058 GB, free: 46.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000599/0.7235, allocations: 303.6 kB / 1.058 GB, free: 46.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.7235, allocations: 3.906 kB / 1.058 GB, free: 46.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.712e-06/0.7235, allocations: 7.828 kB / 1.058 GB, free: 46.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.7238, allocations: 74.95 kB / 1.058 GB, free: 46.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.7238, allocations: 13.67 kB / 1.058 GB, free: 46.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.724, allocations: 46.88 kB / 1.058 GB, free: 46.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.724, allocations: 9.094 kB / 1.058 GB, free: 46.53 MB / 0.698 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.000217/0.7243, allocations: 244.1 kB / 1.059 GB, free: 46.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.7243, allocations: 24.05 kB / 1.059 GB, free: 46.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.7244, allocations: 35.2 kB / 1.059 GB, free: 46.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7244, allocations: 3.797 kB / 1.059 GB, free: 46.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7244, allocations: 0 / 1.059 GB, free: 46.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7244, allocations: 3.938 kB / 1.059 GB, free: 46.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.7255, allocations: 0.7732 MB / 1.059 GB, free: 45.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7255, allocations: 0 / 1.059 GB, free: 45.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.7257, allocations: 42.52 kB / 1.059 GB, free: 45.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.7258, allocations: 32.48 kB / 1.06 GB, free: 45.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.7259, allocations: 1.062 kB / 1.06 GB, free: 45.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007809/0.7266, allocations: 1.321 MB / 1.061 GB, free: 44.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7267, allocations: 3.938 kB / 1.061 GB, free: 44.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.7272, allocations: 387.1 kB / 1.061 GB, free: 44.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-05/0.7273, allocations: 118.1 kB / 1.061 GB, free: 44.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.7274, allocations: 11.94 kB / 1.061 GB, free: 44.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.7275, allocations: 19.88 kB / 1.061 GB, free: 44.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.7276, allocations: 16.5 kB / 1.061 GB, free: 44.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.7276, allocations: 5.812 kB / 1.061 GB, free: 44.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001529/0.7278, allocations: 191.5 kB / 1.062 GB, free: 43.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7278, allocations: 0 / 1.062 GB, free: 43.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005368/0.7283, allocations: 146.6 kB / 1.062 GB, free: 43.9 MB / 0.698 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.0001383/0.7285, allocations: 113.4 kB / 1.062 GB, free: 43.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.7296, allocations: 0.4983 MB / 1.062 GB, free: 43.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7296, allocations: 4.875 kB / 1.062 GB, free: 43.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.7299, allocations: 241.7 kB / 1.062 GB, free: 43.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.7305, allocations: 67.03 kB / 1.063 GB, free: 43.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.7314, allocations: 0.6934 MB / 1.063 GB, free: 42.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.7318, allocations: 0.8057 MB / 1.064 GB, free: 42.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.732, allocations: 73.02 kB / 1.064 GB, free: 42.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.7321, allocations: 19.97 kB / 1.064 GB, free: 42.23 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.7321, allocations: 0 / 1.064 GB, free: 42.23 MB / 0.698 GB Notification: Performance of Templates: time 0.007179/0.7393, allocations: 3.21 MB / 1.067 GB, free: 42.02 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)