Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 193 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.558/1.558, allocations: 251.6 MB / 0.5088 GB, free: 3.348 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.0015, allocations: 63.91 kB / 0.6216 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6053/0.6069, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005566/0.6125, allocations: 3.874 MB / 0.7276 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.6155, allocations: 1.746 MB / 0.7293 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.6158, allocations: 8 kB / 0.7293 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.6172, allocations: 450.5 kB / 0.7297 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.6178, allocations: 223 kB / 0.7299 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.6183, allocations: 186 kB / 0.7301 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005849/0.6189, allocations: 0.6661 MB / 0.7308 GB, free: 6.035 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.6193, allocations: 241.2 kB / 0.731 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.6195, allocations: 167.4 kB / 0.7312 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.6199, allocations: 215.2 kB / 0.7314 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.6199, allocations: 20 kB / 0.7314 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.6204, allocations: 311.3 kB / 0.7317 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.6206, allocations: 115.7 kB / 0.7318 GB, free: 4.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.6207, allocations: 163.2 kB / 0.7319 GB, free: 4.824 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.6213, allocations: 0.512 MB / 0.7324 GB, free: 4.312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.6213, allocations: 0 / 0.7324 GB, free: 4.312 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6213, allocations: 0 / 0.7324 GB, free: 4.312 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.6213, allocations: 4 kB / 0.7324 GB, free: 4.309 MB / 0.545 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.001221/0.6226, allocations: 0.6277 MB / 0.7331 GB, free: 3.633 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.6226, allocations: 12.02 kB / 0.7331 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009333/0.6236, allocations: 136.3 kB / 0.7332 GB, free: 3.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.624, allocations: 287.6 kB / 0.7335 GB, free: 3.168 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.624, allocations: 32.95 kB / 0.7335 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.624, allocations: 28.36 kB / 0.7335 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006601/0.6247, allocations: 463.9 kB / 0.734 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.6247, allocations: 0 / 0.734 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.6248, allocations: 12 kB / 0.734 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/0.6248, allocations: 32.53 kB / 0.734 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.6253, allocations: 314 kB / 0.7343 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.6278, allocations: 2.201 MB / 0.7365 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.6282, allocations: 255.8 kB / 0.7367 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.6284, allocations: 108.8 kB / 0.7368 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.6285, allocations: 0 / 0.7368 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.6285, allocations: 38.56 kB / 0.7368 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.143e-06/0.6285, allocations: 0 / 0.7368 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007498/0.6293, allocations: 299.3 kB / 0.7371 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.6293, allocations: 55.34 kB / 0.7372 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.6296, allocations: 262.6 kB / 0.7374 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.6296, allocations: 29.7 kB / 0.7375 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.6298, allocations: 211.7 kB / 0.7377 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.6298, allocations: 39.36 kB / 0.7377 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.6299, allocations: 57.84 kB / 0.7378 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6301, allocations: 338.8 kB / 0.7381 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.6302, allocations: 56.44 kB / 0.7381 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.6303, allocations: 145.5 kB / 0.7383 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.6306, allocations: 219.1 kB / 0.7385 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6306, allocations: 0 / 0.7385 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004677/0.6311, allocations: 265.9 kB / 0.7387 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.6312, allocations: 9.859 kB / 0.7387 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.6312, allocations: 4 kB / 0.7388 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.6315, allocations: 24.84 kB / 0.7388 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.6317, allocations: 56.23 kB / 0.7388 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.6334, allocations: 1.315 MB / 0.7401 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.6337, allocations: 27.84 kB / 0.7401 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.6337, allocations: 12 kB / 0.7401 GB, free: 11.74 MB / 0.5606 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.0003058/0.634, allocations: 165.7 kB / 0.7403 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.6341, allocations: 27.66 kB / 0.7403 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.6341, allocations: 29.83 kB / 0.7404 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6342, allocations: 4 kB / 0.7404 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6342, allocations: 96 / 0.7404 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6342, allocations: 3.938 kB / 0.7404 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.6354, allocations: 0.7063 MB / 0.7411 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.6354, allocations: 4.172 kB / 0.7411 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.6356, allocations: 24 kB / 0.7411 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.683e-05/0.6357, allocations: 24.84 kB / 0.7411 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.6357, allocations: 4 kB / 0.7411 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.637, allocations: 1.323 MB / 0.7424 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.637, allocations: 0 / 0.7424 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.6374, allocations: 316.3 kB / 0.7427 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.6376, allocations: 116.8 kB / 0.7428 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.6376, allocations: 4 kB / 0.7428 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.6378, allocations: 12 kB / 0.7428 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.6378, allocations: 15.92 kB / 0.7428 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.6378, allocations: 8 kB / 0.7429 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002608/0.6381, allocations: 190 kB / 0.743 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6381, allocations: 0 / 0.743 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005055/0.6386, allocations: 83.69 kB / 0.7431 GB, free: 8.41 MB / 0.5606 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.000228/0.6389, allocations: 107.2 kB / 0.7432 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005701/0.6394, allocations: 266.4 kB / 0.7435 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6395, allocations: 0 / 0.7435 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.6397, allocations: 187.6 kB / 0.7437 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.6403, allocations: 56.86 kB / 0.7437 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.6413, allocations: 0.6557 MB / 0.7443 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.6418, allocations: 0.795 MB / 0.7451 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.642, allocations: 46.25 kB / 0.7452 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.642, allocations: 19.44 kB / 0.7452 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.642, allocations: 7.938 kB / 0.7452 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.006567/0.6486, allocations: 2.58 MB / 0.7477 GB, free: 3.629 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)