Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 80.92 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9698/0.9698, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.985/1.985, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.167e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003589/0.003611, allocations: 3.007 MB / 0.7781 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.00528, allocations: 1.142 MB / 0.7792 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.005431, allocations: 7.938 kB / 0.7792 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.005879, allocations: 124.3 kB / 0.7794 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.006218, allocations: 192.7 kB / 0.7795 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.006502, allocations: 157 kB / 0.7797 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.006935, allocations: 498.2 kB / 0.7802 GB, free: 324 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.007272, allocations: 300.6 kB / 0.7804 GB, free: 28 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.007564, allocations: 267.4 kB / 0.7807 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.007911, allocations: 189.9 kB / 0.7809 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.007948, allocations: 32 kB / 0.7809 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.008119, allocations: 95.8 kB / 0.781 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.008215, allocations: 135.6 kB / 0.7811 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.008305, allocations: 123.7 kB / 0.7813 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.008633, allocations: 331.8 kB / 0.7816 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.008636, allocations: 0 / 0.7816 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.008637, allocations: 0.5625 kB / 0.7816 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.008643, allocations: 0 / 0.7816 GB, free: 14.88 MB / 0.7448 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.0005767/0.009219, allocations: 0.5093 MB / 0.7821 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.009252, allocations: 14.22 kB / 0.7821 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006049/0.009857, allocations: 174.1 kB / 0.7822 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.01013, allocations: 227 kB / 0.7825 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.01015, allocations: 25.02 kB / 0.7825 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.01018, allocations: 29.19 kB / 0.7825 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.01052, allocations: 435.3 kB / 0.7829 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.01052, allocations: 0.8438 kB / 0.7829 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.01055, allocations: 12.38 kB / 0.7829 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.01058, allocations: 37.64 kB / 0.783 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.01071, allocations: 97.22 kB / 0.7831 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.01182, allocations: 1.325 MB / 0.7844 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.01198, allocations: 89.36 kB / 0.7844 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/0.01207, allocations: 57.67 kB / 0.7845 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.01208, allocations: 1.75 kB / 0.7845 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.0121, allocations: 38.56 kB / 0.7845 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.0121, allocations: 0 / 0.7845 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002533/0.01235, allocations: 131.8 kB / 0.7847 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.01238, allocations: 55.41 kB / 0.7847 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.0125, allocations: 211.3 kB / 0.7849 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.01252, allocations: 29.7 kB / 0.785 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.01259, allocations: 208.1 kB / 0.7851 GB, free: 11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.01262, allocations: 55.58 kB / 0.7852 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.01267, allocations: 41.94 kB / 0.7852 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.01275, allocations: 332.7 kB / 0.7856 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.553e-05/0.01278, allocations: 20.45 kB / 0.7856 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/0.01284, allocations: 105.2 kB / 0.7857 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.01295, allocations: 153.3 kB / 0.7858 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.01296, allocations: 4 kB / 0.7858 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001783/0.01314, allocations: 169.7 kB / 0.786 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.01315, allocations: 4 kB / 0.786 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01315, allocations: 4 kB / 0.786 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/0.01329, allocations: 35.52 kB / 0.786 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01341, allocations: 47.92 kB / 0.7861 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006396/0.01405, allocations: 1.205 MB / 0.7873 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.975e-05/0.01414, allocations: 15.83 kB / 0.7873 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.01415, allocations: 20.42 kB / 0.7873 GB, free: 8.613 MB / 0.7448 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 8.225e-05/0.01423, allocations: 127.6 kB / 0.7874 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.01426, allocations: 15.98 kB / 0.7874 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.01428, allocations: 29.39 kB / 0.7875 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.01429, allocations: 4 kB / 0.7875 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.01429, allocations: 0 / 0.7875 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01429, allocations: 0 / 0.7875 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.01475, allocations: 0.5786 MB / 0.788 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01475, allocations: 0 / 0.788 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.01481, allocations: 27.92 kB / 0.7881 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.702e-05/0.01489, allocations: 35.2 kB / 0.7881 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.0149, allocations: 4 kB / 0.7881 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005257/0.01543, allocations: 1.199 MB / 0.7893 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01543, allocations: 0 / 0.7893 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.01561, allocations: 291.5 kB / 0.7895 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.01565, allocations: 35.78 kB / 0.7896 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.01566, allocations: 0 / 0.7896 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.01574, allocations: 16.86 kB / 0.7896 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.01577, allocations: 19.86 kB / 0.7896 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.01577, allocations: 5.062 kB / 0.7896 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.01583, allocations: 67.41 kB / 0.7897 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01583, allocations: 1.188 kB / 0.7897 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002279/0.01605, allocations: 83.78 kB / 0.7898 GB, free: 5.895 MB / 0.7448 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 8.06e-05/0.01613, allocations: 77.42 kB / 0.7898 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.01636, allocations: 215.3 kB / 0.79 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.01637, allocations: 4 kB / 0.79 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.914e-05/0.01647, allocations: 160.4 kB / 0.7902 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01672, allocations: 57.75 kB / 0.7902 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.01751, allocations: 0.5454 MB / 0.7908 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.135e-05/0.01758, allocations: 105.9 kB / 0.7909 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.833e-05/0.01766, allocations: 24.84 kB / 0.7909 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.01776, allocations: 101.2 kB / 0.791 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of SimCode: time 8.81e-07/0.01776, allocations: 0 / 0.791 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of Templates: time 0.004519/0.02228, allocations: 2.644 MB / 0.7936 GB, free: 2.031 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0176745522767305]