Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001072/0.001072, allocations: 79.75 kB / 21.74 MB, free: 2.5 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.001211/0.001211, allocations: 169 kB / 25.18 MB, free: 9.098 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.9056/0.9056, allocations: 177.1 MB / 205.6 MB, free: 5.02 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.912/1.912, allocations: 389.6 MB / 0.6364 GB, free: 12.2 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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.7755 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.024e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00468/0.00471, allocations: 2.664 MB / 0.7781 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.007645, allocations: 1.583 MB / 0.7797 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.007866, allocations: 8.531 kB / 0.7797 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006879/0.008554, allocations: 132 kB / 0.7798 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005305/0.009084, allocations: 180.5 kB / 0.78 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.009797, allocations: 224.2 kB / 0.7802 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.01026, allocations: 339.6 kB / 0.7805 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.01059, allocations: 159 kB / 0.7807 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.01091, allocations: 188.2 kB / 0.7808 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.01124, allocations: 136.4 kB / 0.781 GB, free: 452 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.01128, allocations: 20 kB / 0.781 GB, free: 432 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006655/0.01194, allocations: 331.7 kB / 0.7813 GB, free: 100 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.01207, allocations: 97.02 kB / 0.7814 GB, free: 4 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.01219, allocations: 79.95 kB / 0.7815 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006656/0.01285, allocations: 378.8 kB / 0.7818 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.01286, allocations: 0 / 0.7818 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/0.01286, allocations: 0.5938 kB / 0.7818 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.01286, allocations: 4 kB / 0.7818 GB, free: 15.55 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007254/0.01359, allocations: 465.1 kB / 0.7823 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.01363, allocations: 14.78 kB / 0.7823 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007774/0.01441, allocations: 136.7 kB / 0.7824 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.01474, allocations: 195.5 kB / 0.7826 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.01476, allocations: 20.81 kB / 0.7826 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.0148, allocations: 22.08 kB / 0.7826 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.01518, allocations: 271.9 kB / 0.7829 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.01519, allocations: 192 / 0.7829 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.01522, allocations: 8.375 kB / 0.7829 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.01528, allocations: 29.23 kB / 0.7829 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.01546, allocations: 80.14 kB / 0.783 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.01694, allocations: 1.034 MB / 0.784 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.01748, allocations: 178.7 kB / 0.7842 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.01764, allocations: 41.72 kB / 0.7842 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.01779, allocations: 13.73 kB / 0.7843 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.01784, allocations: 34.56 kB / 0.7843 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 4.208e-06/0.01784, allocations: 0 / 0.7843 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0007373/0.01858, allocations: 244.1 kB / 0.7845 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.01861, allocations: 85.05 kB / 0.7846 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.01873, allocations: 195.8 kB / 0.7848 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.01875, allocations: 30.52 kB / 0.7848 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.01882, allocations: 168.1 kB / 0.785 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.01885, allocations: 60.03 kB / 0.785 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.144e-05/0.01891, allocations: 50.58 kB / 0.7851 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.01899, allocations: 330.8 kB / 0.7854 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.408e-05/0.01903, allocations: 23.98 kB / 0.7854 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.85e-05/0.0191, allocations: 102.3 kB / 0.7855 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.01922, allocations: 154.7 kB / 0.7857 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.01922, allocations: 4 kB / 0.7857 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002316/0.01945, allocations: 204.8 kB / 0.7859 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01947, allocations: 4 kB / 0.7859 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01948, allocations: 4 kB / 0.7859 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/0.0197, allocations: 74.39 kB / 0.7859 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.01983, allocations: 51.92 kB / 0.786 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.02085, allocations: 1.73 MB / 0.7877 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-05/0.02093, allocations: 32.92 kB / 0.7877 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.02095, allocations: 4 kB / 0.7877 GB, free: 9.113 MB / 0.7448 GB 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.797e-05/0.02103, allocations: 133.6 kB / 0.7878 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.02107, allocations: 19.92 kB / 0.7879 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.0213, allocations: 165.1 kB / 0.788 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.0213, allocations: 4 kB / 0.788 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.0213, allocations: 3.938 kB / 0.788 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.02131, allocations: 1.438 kB / 0.788 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.02178, allocations: 0.5204 MB / 0.7885 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.02178, allocations: 7.984 kB / 0.7885 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.02183, allocations: 20 kB / 0.7886 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/0.02199, allocations: 81.39 kB / 0.7886 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.022, allocations: 6.594 kB / 0.7886 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006447/0.02264, allocations: 1.734 MB / 0.7903 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.02265, allocations: 4 kB / 0.7903 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.02289, allocations: 448.1 kB / 0.7908 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.02293, allocations: 35.88 kB / 0.7908 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.02295, allocations: 7.938 kB / 0.7908 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/0.02304, allocations: 9.656 kB / 0.7908 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.02306, allocations: 19.91 kB / 0.7908 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.02308, allocations: 8 kB / 0.7908 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.02312, allocations: 56.48 kB / 0.7909 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.02312, allocations: 1.031 kB / 0.7909 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002573/0.02338, allocations: 79.84 kB / 0.791 GB, free: 5.52 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 (15): * 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: 2 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.02351, allocations: 111.6 kB / 0.7911 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.02376, allocations: 227.2 kB / 0.7913 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.02377, allocations: 0.875 kB / 0.7913 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.02388, allocations: 177.8 kB / 0.7915 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.02414, allocations: 35.05 kB / 0.7915 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.02485, allocations: 0.519 MB / 0.792 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.02496, allocations: 155.4 kB / 0.7922 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.976e-05/0.02506, allocations: 92.47 kB / 0.7922 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.02506, allocations: 0 / 0.7922 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of Templates: time 0.004776/0.02983, allocations: 4.979 MB / 0.7971 GB, free: 15.25 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad > Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.87232262827456]