Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.0007422/0.0007422, allocations: 84.44 kB / 20.69 MB, free: 3.863 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.0007825/0.0007825, allocations: 165.9 kB / 23.96 MB, free: 0.5898 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.8671/0.8671, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.5602/0.5602, allocations: 114 MB / 374.7 MB, free: 8.711 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.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5554 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.083e-05, allocations: 2.984 kB / 0.5554 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004332/0.004363, allocations: 2.849 MB / 0.5582 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.006475, allocations: 1.745 MB / 0.5599 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.006582, allocations: 7.938 kB / 0.5599 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.007157, allocations: 238.2 kB / 0.5601 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.007475, allocations: 206.8 kB / 0.5603 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.007807, allocations: 227.2 kB / 0.5605 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.008065, allocations: 334.8 kB / 0.5609 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.008321, allocations: 146.4 kB / 0.561 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.008549, allocations: 187.5 kB / 0.5612 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.008734, allocations: 143.7 kB / 0.5613 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.00876, allocations: 20 kB / 0.5613 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.008993, allocations: 263.2 kB / 0.5616 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.009064, allocations: 83.8 kB / 0.5617 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.00913, allocations: 87.75 kB / 0.5617 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.009513, allocations: 470.6 kB / 0.5622 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.009517, allocations: 4 kB / 0.5622 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.793e-06/0.009519, allocations: 0 / 0.5622 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.009524, allocations: 0 / 0.5622 GB, free: 11.26 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006654/0.01019, allocations: 497.2 kB / 0.5627 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.01022, allocations: 8.031 kB / 0.5627 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007514/0.01097, allocations: 112.6 kB / 0.5628 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.01123, allocations: 209.4 kB / 0.563 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.01124, allocations: 12.75 kB / 0.563 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.01128, allocations: 24.38 kB / 0.563 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.01174, allocations: 412.9 kB / 0.5634 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.01176, allocations: 8.125 kB / 0.5634 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.01178, allocations: 4.375 kB / 0.5634 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.01181, allocations: 32.25 kB / 0.5635 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.01224, allocations: 344.6 kB / 0.5638 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.0134, allocations: 1.393 MB / 0.5651 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.01384, allocations: 313 kB / 0.5654 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.014, allocations: 141.6 kB / 0.5656 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-05/0.01408, allocations: 19.89 kB / 0.5656 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.0141, allocations: 30.56 kB / 0.5656 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.0141, allocations: 4 kB / 0.5656 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.0008823/0.01498, allocations: 0.5187 MB / 0.5661 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.01502, allocations: 89.03 kB / 0.5662 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.01518, allocations: 204 kB / 0.5664 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.0152, allocations: 33.7 kB / 0.5664 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.01527, allocations: 160.2 kB / 0.5666 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.01531, allocations: 71.39 kB / 0.5667 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.01538, allocations: 61.92 kB / 0.5667 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.01547, allocations: 330.8 kB / 0.567 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.01565, allocations: 149.9 kB / 0.5672 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.01587, allocations: 223.3 kB / 0.5674 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.01627, allocations: 385.3 kB / 0.5678 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01627, allocations: 0 / 0.5678 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005545/0.01682, allocations: 457.8 kB / 0.5682 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01684, allocations: 4 kB / 0.5682 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.01684, allocations: 4 kB / 0.5682 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/0.017, allocations: 49.14 kB / 0.5683 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.01719, allocations: 83.88 kB / 0.5683 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.01839, allocations: 1.469 MB / 0.5698 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.01855, allocations: 43.94 kB / 0.5698 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.01857, allocations: 8 kB / 0.5698 GB, free: 3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000233/0.0188, allocations: 260.6 kB / 0.5701 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001984/0.019, allocations: 210.9 kB / 0.5703 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003596/0.01936, allocations: 360.9 kB / 0.5706 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.01936, allocations: 3.938 kB / 0.5706 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004873/0.01985, allocations: 433.9 kB / 0.571 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-06/0.01985, allocations: 4 kB / 0.571 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.01986, allocations: 4 kB / 0.571 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.062e-05/0.01995, allocations: 41.17 kB / 0.5711 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.02012, allocations: 79.86 kB / 0.5712 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008023/0.02092, allocations: 1.485 MB / 0.5726 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.02105, allocations: 31.91 kB / 0.5726 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.02107, allocations: 23.98 kB / 0.5727 GB, free: 15.89 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.857e-05/0.02116, allocations: 200.1 kB / 0.5729 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.02119, allocations: 19.86 kB / 0.5729 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.02161, allocations: 352 kB / 0.5732 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02161, allocations: 4 kB / 0.5732 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.02161, allocations: 7.938 kB / 0.5732 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.02162, allocations: 3.938 kB / 0.5732 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008516/0.02247, allocations: 0.858 MB / 0.5741 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.02247, allocations: 0 / 0.5741 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.02258, allocations: 55.89 kB / 0.5741 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.398e-05/0.02265, allocations: 41.05 kB / 0.5742 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.02266, allocations: 4 kB / 0.5742 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006772/0.02334, allocations: 1.386 MB / 0.5755 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.02334, allocations: 4.031 kB / 0.5755 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.02377, allocations: 0.5302 MB / 0.576 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.02384, allocations: 51.81 kB / 0.5761 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.02385, allocations: 0 / 0.5761 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.02398, allocations: 23.97 kB / 0.5761 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.02403, allocations: 35.83 kB / 0.5761 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.02404, allocations: 4 kB / 0.5761 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001135/0.02416, allocations: 160.9 kB / 0.5763 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.02416, allocations: 0 / 0.5763 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003708/0.02453, allocations: 108 kB / 0.5764 GB, free: 11.85 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 20 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003751/0.0249, allocations: 107.2 kB / 0.5765 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008285/0.02573, allocations: 0.7417 MB / 0.5772 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.02573, allocations: 0 / 0.5772 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.02595, allocations: 259.5 kB / 0.5775 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.02626, allocations: 46.19 kB / 0.5775 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.02694, allocations: 0.5879 MB / 0.5781 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.02705, allocations: 157.5 kB / 0.5782 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.02713, allocations: 28.48 kB / 0.5783 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of SimCode: time 7.62e-07/0.02713, allocations: 0 / 0.5783 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of Templates: time 0.004696/0.03182, allocations: 4.445 MB / 0.5826 GB, free: 5.391 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.078115395270288] Failed to read output from testmodel.py, exit status != 0: 0.039174634963274 0.05313011300000001 0.040978739 Calling exit ...