Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 297.4 MB / 312.6 MB, free: 2.949 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.001016/0.001016, allocations: 188.7 kB / 382.3 MB, free: 14.82 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.532/1.532, allocations: 225.7 MB / 0.6617 GB, free: 7.223 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.0008717/0.0008719, allocations: 96.08 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004971, allocations: 8 kB / 0.9058 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6375/0.638, allocations: 119.2 MB / 1.022 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004712/0.6428, allocations: 3.375 MB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.6454, allocations: 2.867 MB / 1.028 GB, free: 53.29 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.6456, allocations: 9.094 kB / 1.028 GB, free: 53.29 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.6458, allocations: 56.81 kB / 1.028 GB, free: 53.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.6463, allocations: 214 kB / 1.029 GB, free: 53.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.6468, allocations: 192.3 kB / 1.029 GB, free: 53.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.6474, allocations: 0.6572 MB / 1.029 GB, free: 52.83 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.6478, allocations: 308.4 kB / 1.03 GB, free: 52.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.648, allocations: 165.4 kB / 1.03 GB, free: 52.6 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.6484, allocations: 202.4 kB / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.6485, allocations: 16.69 kB / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.6489, allocations: 293.3 kB / 1.03 GB, free: 52.43 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.6491, allocations: 106.6 kB / 1.03 GB, free: 52.39 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.6492, allocations: 173 kB / 1.031 GB, free: 52.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005994/0.6499, allocations: 0.503 MB / 1.031 GB, free: 52.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6499, allocations: 1.094 kB / 1.031 GB, free: 52.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.594e-06/0.6499, allocations: 0 / 1.031 GB, free: 52.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.6499, allocations: 1.281 kB / 1.031 GB, free: 52.12 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008376/0.6507, allocations: 0.5815 MB / 1.032 GB, free: 51.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.6508, allocations: 7 kB / 1.032 GB, free: 51.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008168/0.6516, allocations: 143.5 kB / 1.032 GB, free: 51.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.6519, allocations: 290.3 kB / 1.032 GB, free: 51.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.652, allocations: 20.12 kB / 1.032 GB, free: 51.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.652, allocations: 27.75 kB / 1.032 GB, free: 51.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.6527, allocations: 464.1 kB / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.6527, allocations: 0 / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.6527, allocations: 14.31 kB / 1.033 GB, free: 51.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/0.6528, allocations: 28.78 kB / 1.033 GB, free: 51.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.6532, allocations: 319.4 kB / 1.033 GB, free: 50.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.655, allocations: 2.2 MB / 1.035 GB, free: 49.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.6554, allocations: 247.9 kB / 1.035 GB, free: 48.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.6556, allocations: 117.9 kB / 1.035 GB, free: 48.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.6556, allocations: 0 / 1.035 GB, free: 48.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.6556, allocations: 37.09 kB / 1.036 GB, free: 48.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.6556, allocations: 0 / 1.036 GB, free: 48.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005286/0.6562, allocations: 297.2 kB / 1.036 GB, free: 48.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.6562, allocations: 53.22 kB / 1.036 GB, free: 48.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.6565, allocations: 275.1 kB / 1.036 GB, free: 48.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.6565, allocations: 29.7 kB / 1.036 GB, free: 48.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.6566, allocations: 204.7 kB / 1.036 GB, free: 48.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.6566, allocations: 46.3 kB / 1.036 GB, free: 48.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.6566, allocations: 5.188 kB / 1.036 GB, free: 48.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.6567, allocations: 335.6 kB / 1.037 GB, free: 47.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.6568, allocations: 55.42 kB / 1.037 GB, free: 47.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.6569, allocations: 142.7 kB / 1.037 GB, free: 47.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.6571, allocations: 214.8 kB / 1.037 GB, free: 47.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6571, allocations: 0 / 1.037 GB, free: 47.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003656/0.6575, allocations: 266.5 kB / 1.037 GB, free: 47.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6575, allocations: 14.41 kB / 1.037 GB, free: 47.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6576, allocations: 6.094 kB / 1.037 GB, free: 47.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.6577, allocations: 27.42 kB / 1.037 GB, free: 47.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.658, allocations: 50.8 kB / 1.037 GB, free: 47.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009592/0.6589, allocations: 1.334 MB / 1.039 GB, free: 45.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.6591, allocations: 22.66 kB / 1.039 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.6592, allocations: 15.03 kB / 1.039 GB, free: 45.97 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.6593, allocations: 162.9 kB / 1.039 GB, free: 45.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.6594, allocations: 36.69 kB / 1.039 GB, free: 45.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.6595, allocations: 27.97 kB / 1.039 GB, free: 45.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6595, allocations: 4.094 kB / 1.039 GB, free: 45.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6595, allocations: 0 / 1.039 GB, free: 45.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.6595, allocations: 3 kB / 1.039 GB, free: 45.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009029/0.6604, allocations: 0.6982 MB / 1.04 GB, free: 45.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.6604, allocations: 4.562 kB / 1.04 GB, free: 45.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.537e-05/0.6605, allocations: 26.38 kB / 1.04 GB, free: 45.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.593e-05/0.6606, allocations: 26.94 kB / 1.04 GB, free: 45.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.6606, allocations: 3.844 kB / 1.04 GB, free: 45.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007723/0.6614, allocations: 1.318 MB / 1.041 GB, free: 43.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6614, allocations: 6.25 kB / 1.041 GB, free: 43.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.6617, allocations: 314.6 kB / 1.041 GB, free: 43.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-05/0.6618, allocations: 116.1 kB / 1.041 GB, free: 43.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.6619, allocations: 5.969 kB / 1.041 GB, free: 43.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.6621, allocations: 12.53 kB / 1.041 GB, free: 43.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.6621, allocations: 17.38 kB / 1.041 GB, free: 43.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.6621, allocations: 3.875 kB / 1.041 GB, free: 43.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001923/0.6623, allocations: 194.4 kB / 1.042 GB, free: 43.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6623, allocations: 0 / 1.042 GB, free: 43.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004902/0.6628, allocations: 83.91 kB / 1.042 GB, free: 43.39 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.663, allocations: 107.2 kB / 1.042 GB, free: 43.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005342/0.6635, allocations: 274.2 kB / 1.042 GB, free: 43.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6635, allocations: 0 / 1.042 GB, free: 43.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.6637, allocations: 184.9 kB / 1.042 GB, free: 43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.6643, allocations: 56.19 kB / 1.042 GB, free: 42.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/0.6652, allocations: 0.6779 MB / 1.043 GB, free: 42.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.6655, allocations: 0.7914 MB / 1.044 GB, free: 41.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.6657, allocations: 43.73 kB / 1.044 GB, free: 41.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.6658, allocations: 19.5 kB / 1.044 GB, free: 41.79 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.6658, allocations: 0 / 1.044 GB, free: 41.79 MB / 0.698 GB Notification: Performance of Templates: time 0.005935/0.6717, allocations: 2.569 MB / 1.046 GB, free: 41.62 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)