Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001375/0.001375, allocations: 78.89 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001588/0.001588, allocations: 169.4 kB / 23.21 MB, free: 4.887 MB / 14.72 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 1.377/1.377, allocations: 177.1 MB / 203.5 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9014/0.9014, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5546 GB, free: 2.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.342e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.676 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004731/0.004754, allocations: 3.024 MB / 0.5576 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.007958, allocations: 1.865 MB / 0.5594 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.008119, allocations: 11.94 kB / 0.5594 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009564/0.009075, allocations: 286.1 kB / 0.5597 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005529/0.009628, allocations: 206.8 kB / 0.5599 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.01031, allocations: 255 kB / 0.5601 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.01077, allocations: 330.8 kB / 0.5605 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.01111, allocations: 161.8 kB / 0.5606 GB, free: 12.54 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.01144, allocations: 187.5 kB / 0.5608 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.01176, allocations: 131.6 kB / 0.5609 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.01181, allocations: 20 kB / 0.5609 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006573/0.01247, allocations: 391 kB / 0.5613 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.01259, allocations: 91.73 kB / 0.5614 GB, free: 11.74 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.01271, allocations: 79.83 kB / 0.5615 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008131/0.01352, allocations: 0.5219 MB / 0.562 GB, free: 11.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01353, allocations: 4 kB / 0.562 GB, free: 11.13 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01353, allocations: 0 / 0.562 GB, free: 11.13 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.01353, allocations: 0 / 0.562 GB, free: 11.13 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009394/0.01447, allocations: 0.4932 MB / 0.5625 GB, free: 10.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.01451, allocations: 8.625 kB / 0.5625 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008668/0.01538, allocations: 112.6 kB / 0.5626 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.0158, allocations: 213 kB / 0.5628 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.01581, allocations: 12.88 kB / 0.5628 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.01586, allocations: 24.31 kB / 0.5628 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.01646, allocations: 401 kB / 0.5632 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.01648, allocations: 192 / 0.5632 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.01651, allocations: 12.36 kB / 0.5632 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.01656, allocations: 28.42 kB / 0.5632 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.01705, allocations: 289.8 kB / 0.5635 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.01917, allocations: 1.226 MB / 0.5647 GB, free: 8.195 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.01966, allocations: 249 kB / 0.565 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.01982, allocations: 97.67 kB / 0.5651 GB, free: 7.832 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.877e-05/0.0199, allocations: 15.98 kB / 0.5651 GB, free: 7.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.01993, allocations: 30.56 kB / 0.5651 GB, free: 7.777 MB / 478.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.01993, allocations: 0 / 0.5651 GB, free: 7.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=23): time 0.002542/0.02247, allocations: 0.8967 MB / 0.566 GB, free: 6.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.02253, allocations: 81.11 kB / 0.566 GB, free: 6.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.02278, allocations: 219.3 kB / 0.5663 GB, free: 6.543 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.02281, allocations: 29.7 kB / 0.5663 GB, free: 6.508 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.02294, allocations: 176.4 kB / 0.5665 GB, free: 6.332 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.35e-05/0.02301, allocations: 79.34 kB / 0.5665 GB, free: 6.254 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.02312, allocations: 61.64 kB / 0.5666 GB, free: 6.188 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.02328, allocations: 330.8 kB / 0.5669 GB, free: 5.855 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.02349, allocations: 131.9 kB / 0.567 GB, free: 5.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.02375, allocations: 221.7 kB / 0.5672 GB, free: 5.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.02426, allocations: 372.4 kB / 0.5676 GB, free: 5.086 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.02427, allocations: 0 / 0.5676 GB, free: 5.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009651/0.02523, allocations: 0.5044 MB / 0.5681 GB, free: 4.562 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.02525, allocations: 8 kB / 0.5681 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.02526, allocations: 4 kB / 0.5681 GB, free: 4.551 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005423/0.0258, allocations: 147.3 kB / 0.5682 GB, free: 4.395 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.02606, allocations: 64.12 kB / 0.5683 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/0.02954, allocations: 3.93 MB / 0.5721 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.02973, allocations: 15.98 kB / 0.5722 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.02976, allocations: 16 kB / 0.5722 GB, free: 116 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.02997, allocations: 173.7 kB / 0.5723 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.03004, allocations: 19.86 kB / 0.5724 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009212/0.03097, allocations: 481.8 kB / 0.5728 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.03097, allocations: 4 kB / 0.5728 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.03097, allocations: 0 / 0.5728 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.03098, allocations: 0 / 0.5728 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.03255, allocations: 0.8921 MB / 0.5737 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.03255, allocations: 96 / 0.5737 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.03269, allocations: 43.86 kB / 0.5737 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.03309, allocations: 139.3 kB / 0.5739 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.03312, allocations: 8 kB / 0.5739 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/0.03625, allocations: 3.895 MB / 0.5777 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.03626, allocations: 8.094 kB / 0.5777 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008569/0.03711, allocations: 0.6177 MB / 0.5783 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.03723, allocations: 51.83 kB / 0.5783 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.03727, allocations: 8 kB / 0.5783 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.03749, allocations: 19.98 kB / 0.5784 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.03756, allocations: 27.89 kB / 0.5784 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.03758, allocations: 11.94 kB / 0.5784 GB, free: 9.309 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.03775, allocations: 153.7 kB / 0.5785 GB, free: 9.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03775, allocations: 4 kB / 0.5786 GB, free: 9.156 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005242/0.03827, allocations: 91.88 kB / 0.5786 GB, free: 9.066 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002586/0.03853, allocations: 151 kB / 0.5788 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.03955, allocations: 0.5674 MB / 0.5793 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.03955, allocations: 0 / 0.5793 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.04009, allocations: 390.1 kB / 0.5797 GB, free: 7.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.0406, allocations: 42.55 kB / 0.5797 GB, free: 7.871 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.04172, allocations: 0.6015 MB / 0.5803 GB, free: 7.219 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.04193, allocations: 177 kB / 0.5805 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.04209, allocations: 66.17 kB / 0.5806 GB, free: 6.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.04215, allocations: 24.5 kB / 0.5806 GB, free: 6.941 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.04215, allocations: 0 / 0.5806 GB, free: 6.941 MB / 494.1 MB Notification: Performance of Templates: time 0.009218/0.05137, allocations: 4.151 MB / 0.5846 GB, free: 2.852 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.335367750376463] Failed to read output from testmodel.py, exit status != 0: 0.060336820781230927 0.074393055 0.057846439000000006 Calling exit ...