Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.669/1.669, allocations: 291.7 MB / 306.8 MB, free: 7.707 MB / 234.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.001022/0.001022, allocations: 188 kB / 375.4 MB, free: 5.137 MB / 298.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.417/1.417, allocations: 225.7 MB / 0.6538 GB, free: 13.68 MB / 490.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.0008446/0.0008448, allocations: 102.5 kB / 0.7699 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004103, allocations: 8.875 kB / 0.8956 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6401/0.6406, allocations: 118.1 MB / 1.011 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.00424/0.6449, allocations: 3.371 MB / 1.014 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.6474, allocations: 1.657 MB / 1.016 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.6476, allocations: 5.25 kB / 1.016 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.6478, allocations: 58.84 kB / 1.016 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.6483, allocations: 184.5 kB / 1.016 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.6489, allocations: 201.1 kB / 1.016 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006095/0.6495, allocations: 0.5652 MB / 1.017 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.65, allocations: 367.6 kB / 1.017 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.6503, allocations: 153.1 kB / 1.017 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.6506, allocations: 220.1 kB / 1.017 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.6507, allocations: 14.12 kB / 1.018 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.6509, allocations: 90.73 kB / 1.018 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.651, allocations: 111.4 kB / 1.018 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.198e-05/0.6511, allocations: 87.67 kB / 1.018 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.6515, allocations: 365.1 kB / 1.018 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.6515, allocations: 1.375 kB / 1.018 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6515, allocations: 3.844 kB / 1.018 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.6515, allocations: 0.75 kB / 1.018 GB, free: 56.66 MB / 0.7136 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.0009244/0.6524, allocations: 0.6046 MB / 1.019 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6525, allocations: 13.83 kB / 1.019 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.653, allocations: 79.67 kB / 1.019 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.6533, allocations: 285.5 kB / 1.019 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.6533, allocations: 27.19 kB / 1.019 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.6534, allocations: 29.44 kB / 1.019 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008484/0.6543, allocations: 0.4897 MB / 1.02 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.6543, allocations: 4.969 kB / 1.02 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.6543, allocations: 14.06 kB / 1.02 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.039e-05/0.6544, allocations: 36.97 kB / 1.02 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.6551, allocations: 388 kB / 1.02 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.6567, allocations: 2.055 MB / 1.022 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.6573, allocations: 213.3 kB / 1.022 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.6577, allocations: 176 kB / 1.022 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.6577, allocations: 7.391 kB / 1.022 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.6577, allocations: 36.66 kB / 1.022 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 3.216e-06/0.6577, allocations: 0 / 1.022 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0009874/0.6587, allocations: 454 kB / 1.023 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.6588, allocations: 55.19 kB / 1.023 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.659, allocations: 256.8 kB / 1.023 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.659, allocations: 31.77 kB / 1.023 GB, free: 53.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.6591, allocations: 205 kB / 1.023 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.6592, allocations: 64.64 kB / 1.023 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.6592, allocations: 10.84 kB / 1.023 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.6593, allocations: 346.9 kB / 1.024 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.6595, allocations: 94.55 kB / 1.024 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.6598, allocations: 223.6 kB / 1.024 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.6603, allocations: 330 kB / 1.024 GB, free: 53.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6603, allocations: 2.844 kB / 1.024 GB, free: 53.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006805/0.661, allocations: 373.2 kB / 1.025 GB, free: 52.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.711e-05/0.6611, allocations: 201.9 kB / 1.025 GB, free: 52.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6611, allocations: 6.969 kB / 1.025 GB, free: 52.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.6613, allocations: 36.14 kB / 1.025 GB, free: 52.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.6616, allocations: 68.33 kB / 1.025 GB, free: 52.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.6626, allocations: 1.332 MB / 1.026 GB, free: 51.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.6629, allocations: 59.8 kB / 1.026 GB, free: 51.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.6629, allocations: 9 kB / 1.026 GB, free: 51.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.6629, allocations: 5.5 kB / 1.026 GB, free: 51.43 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000565/0.6635, allocations: 296 kB / 1.027 GB, free: 51.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6635, allocations: 3.031 kB / 1.027 GB, free: 51.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.6635, allocations: 7.688 kB / 1.027 GB, free: 51.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.6638, allocations: 77.12 kB / 1.027 GB, free: 51.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6638, allocations: 8.953 kB / 1.027 GB, free: 51.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.664, allocations: 50.45 kB / 1.027 GB, free: 51.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.664, allocations: 8.781 kB / 1.027 GB, free: 51.38 MB / 0.7136 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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.6642, allocations: 248.5 kB / 1.027 GB, free: 51.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.6642, allocations: 28.92 kB / 1.027 GB, free: 51.17 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.6643, allocations: 33.09 kB / 1.027 GB, free: 51.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6643, allocations: 5.641 kB / 1.027 GB, free: 51.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6643, allocations: 3.938 kB / 1.027 GB, free: 51.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6643, allocations: 5.5 kB / 1.027 GB, free: 51.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.6653, allocations: 0.7724 MB / 1.028 GB, free: 50.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6654, allocations: 0 / 1.028 GB, free: 50.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.6655, allocations: 44.06 kB / 1.028 GB, free: 50.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.6657, allocations: 33.38 kB / 1.028 GB, free: 50.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.6657, allocations: 5.438 kB / 1.028 GB, free: 50.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006455/0.6663, allocations: 1.311 MB / 1.029 GB, free: 49.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6664, allocations: 8.641 kB / 1.029 GB, free: 49.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.6669, allocations: 387.8 kB / 1.03 GB, free: 49.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.667, allocations: 119.1 kB / 1.03 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.667, allocations: 14.14 kB / 1.03 GB, free: 49.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.6672, allocations: 15.19 kB / 1.03 GB, free: 49.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.6673, allocations: 17.75 kB / 1.03 GB, free: 49.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.6673, allocations: 4.594 kB / 1.03 GB, free: 49.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000147/0.6674, allocations: 189.4 kB / 1.03 GB, free: 49.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6674, allocations: 0 / 1.03 GB, free: 49.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005719/0.668, allocations: 143.7 kB / 1.03 GB, free: 49.07 MB / 0.7136 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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000118/0.6681, allocations: 108 kB / 1.03 GB, free: 48.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.6693, allocations: 0.5018 MB / 1.031 GB, free: 48.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6693, allocations: 1 kB / 1.031 GB, free: 48.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.6696, allocations: 238.8 kB / 1.031 GB, free: 48.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.6701, allocations: 60.56 kB / 1.031 GB, free: 48.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007481/0.6709, allocations: 0.6692 MB / 1.032 GB, free: 48.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.6711, allocations: 0.8023 MB / 1.033 GB, free: 47.61 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002188/0.6713, allocations: 71.73 kB / 1.033 GB, free: 47.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.6714, allocations: 22.55 kB / 1.033 GB, free: 47.6 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/0.6714, allocations: 0 / 1.033 GB, free: 47.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.006292/0.6777, allocations: 3.12 MB / 1.036 GB, free: 47.45 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)