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.001259/0.001259, allocations: 96.2 kB / 20.43 MB, free: 4.137 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.001361/0.001361, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 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.9678/0.9678, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 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.6059/0.6059, allocations: 115 MB / 375.7 MB, free: 7.664 MB / 346.7 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 2.305e-06/2.305e-06, allocations: 0 / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.436e-05, allocations: 3.188 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004145/0.00417, allocations: 2.615 MB / 484.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.006874, allocations: 1.549 MB / 485.6 MB, free: 9.211 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.007016, allocations: 14.38 kB / 485.7 MB, free: 9.203 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.007599, allocations: 132.6 kB / 485.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.0079, allocations: 176.2 kB / 486 MB, free: 9.031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.008336, allocations: 253.1 kB / 486.2 MB, free: 8.906 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.008636, allocations: 330.2 kB / 486.5 MB, free: 8.758 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.008879, allocations: 147.9 kB / 486.7 MB, free: 8.688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.009092, allocations: 191 kB / 486.9 MB, free: 8.609 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.009323, allocations: 147.8 kB / 487 MB, free: 8.562 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.009359, allocations: 20.75 kB / 487 MB, free: 8.562 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.009728, allocations: 309.8 kB / 487.3 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.693e-05/0.009805, allocations: 92.08 kB / 487.4 MB, free: 8.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.774e-05/0.009883, allocations: 84.58 kB / 487.5 MB, free: 8.395 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.01033, allocations: 389.5 kB / 487.9 MB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01033, allocations: 0 / 487.9 MB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01033, allocations: 2.719 kB / 487.9 MB, free: 8.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.01034, allocations: 0 / 487.9 MB, free: 8.25 MB / 410.7 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.0005858/0.01092, allocations: 0.5856 MB / 488.5 MB, free: 7.746 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.01096, allocations: 8.688 kB / 488.5 MB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000528/0.01149, allocations: 165 kB / 488.6 MB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.01171, allocations: 212.6 kB / 488.9 MB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.01172, allocations: 16.72 kB / 488.9 MB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.01175, allocations: 23.98 kB / 488.9 MB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.01206, allocations: 293.1 kB / 489.2 MB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01207, allocations: 192 / 489.2 MB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.01209, allocations: 11.42 kB / 489.2 MB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.01213, allocations: 32.3 kB / 489.2 MB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.01233, allocations: 124.5 kB / 489.3 MB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.01353, allocations: 1.388 MB / 490.7 MB, free: 22.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.01376, allocations: 175.3 kB / 490.9 MB, free: 22.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.01383, allocations: 52.97 kB / 491 MB, free: 21.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.01388, allocations: 13.03 kB / 491 MB, free: 21.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.0139, allocations: 35.8 kB / 491 MB, free: 21.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.0139, allocations: 0.6875 kB / 491 MB, free: 21.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.00111/0.01501, allocations: 0.5614 MB / 491.6 MB, free: 21.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.01503, allocations: 82.05 kB / 491.6 MB, free: 21.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.01518, allocations: 255 kB / 491.9 MB, free: 21.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.0152, allocations: 35.86 kB / 491.9 MB, free: 21.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.01528, allocations: 222 kB / 492.1 MB, free: 21.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.01531, allocations: 83.83 kB / 492.2 MB, free: 21.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.01538, allocations: 68.59 kB / 492.3 MB, free: 21.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.0155, allocations: 0.5096 MB / 492.8 MB, free: 20.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.093e-05/0.01558, allocations: 45.64 kB / 492.8 MB, free: 20.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.01569, allocations: 166.9 kB / 493 MB, free: 20.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.0159, allocations: 232.7 kB / 493.2 MB, free: 20.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.0159, allocations: 0 / 493.2 MB, free: 20.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004268/0.01633, allocations: 349.5 kB / 493.6 MB, free: 20.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01634, allocations: 8.438 kB / 493.6 MB, free: 20.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01635, allocations: 6.109 kB / 493.6 MB, free: 20.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.01669, allocations: 139.4 kB / 493.7 MB, free: 20 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.01684, allocations: 54.91 kB / 493.8 MB, free: 19.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.01881, allocations: 5.114 MB / 498.9 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.01892, allocations: 29.06 kB / 498.9 MB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.01894, allocations: 13.78 kB / 498.9 MB, free: 14.83 MB / 426.7 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.0001027/0.01904, allocations: 175.2 kB / 499.1 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.01908, allocations: 26.03 kB / 499.1 MB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.01949, allocations: 285.8 kB / 499.4 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.0195, allocations: 3.75 kB / 499.4 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.0195, allocations: 4.406 kB / 499.4 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.0195, allocations: 0 / 499.4 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/0.02026, allocations: 0.7499 MB / 0.4884 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.02026, allocations: 2.156 kB / 0.4884 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.02033, allocations: 32.91 kB / 0.4885 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/0.0206, allocations: 135.6 kB / 0.4886 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.02061, allocations: 9.031 kB / 0.4886 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.02251, allocations: 5.108 MB / 0.4936 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.02251, allocations: 7.438 kB / 0.4936 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/0.02308, allocations: 0.5958 MB / 0.4942 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.02314, allocations: 37.84 kB / 0.4942 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.02316, allocations: 9.406 kB / 0.4942 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.02328, allocations: 20.69 kB / 0.4943 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.02333, allocations: 25.8 kB / 0.4943 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.02334, allocations: 20.61 kB / 0.4943 GB, free: 8.148 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.02345, allocations: 177.4 kB / 0.4945 GB, free: 8.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02345, allocations: 0 / 0.4945 GB, free: 8.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.02383, allocations: 96.56 kB / 0.4946 GB, free: 8.004 MB / 426.7 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.0001737/0.024, allocations: 143.2 kB / 0.4947 GB, free: 7.898 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.02455, allocations: 0.5488 MB / 0.4952 GB, free: 7.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.02455, allocations: 5.125 kB / 0.4952 GB, free: 7.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.02482, allocations: 455.5 kB / 0.4957 GB, free: 7.113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.02515, allocations: 40.28 kB / 0.4957 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.02608, allocations: 0.5717 MB / 0.4963 GB, free: 6.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.845e-05/0.02616, allocations: 114.9 kB / 0.4964 GB, free: 6.602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.02626, allocations: 52.06 kB / 0.4964 GB, free: 6.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.0263, allocations: 23.22 kB / 0.4965 GB, free: 6.582 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0263, allocations: 0 / 0.4965 GB, free: 6.582 MB / 426.7 MB Notification: Performance of Templates: time 0.007694/0.034, allocations: 4.402 MB / 0.5008 GB, free: 6.156 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.589627929031849]