Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 198.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.041/1.041, allocations: 175.8 MB / 481.9 MB, free: 7.703 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 61.2 kB / 0.6705 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.6494, allocations: 94.53 MB / 0.7628 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004645/0.6541, allocations: 3.184 MB / 0.7659 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.6569, allocations: 1.965 MB / 0.7678 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.6571, allocations: 3.656 kB / 0.7678 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009019/0.658, allocations: 291.7 kB / 0.7681 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005254/0.6585, allocations: 199.7 kB / 0.7683 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007767/0.6593, allocations: 247.7 kB / 0.7685 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.6597, allocations: 325.4 kB / 0.7688 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.66, allocations: 140.2 kB / 0.769 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.6601, allocations: 130.9 kB / 0.7691 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.6604, allocations: 159.5 kB / 0.7692 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.6605, allocations: 20.81 kB / 0.7693 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006869/0.6612, allocations: 410 kB / 0.7697 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.314e-05/0.6613, allocations: 85.88 kB / 0.7697 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.6614, allocations: 126.5 kB / 0.7699 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000607/0.662, allocations: 487.8 kB / 0.7703 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.662, allocations: 1.438 kB / 0.7703 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.662, allocations: 0 / 0.7703 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.662, allocations: 0 / 0.7703 GB, free: 5.945 MB / 0.5762 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.0008127/0.6628, allocations: 0.5765 MB / 0.7709 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6628, allocations: 9.125 kB / 0.7709 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007822/0.6636, allocations: 108.9 kB / 0.771 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.664, allocations: 269.8 kB / 0.7713 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.664, allocations: 16.53 kB / 0.7713 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.664, allocations: 21.88 kB / 0.7713 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.6645, allocations: 357.8 kB / 0.7716 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.6645, allocations: 0.8438 kB / 0.7716 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.6646, allocations: 10.7 kB / 0.7716 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.6646, allocations: 26.81 kB / 0.7717 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.665, allocations: 289.6 kB / 0.772 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.6669, allocations: 1.735 MB / 0.7736 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.6674, allocations: 320.5 kB / 0.774 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.6675, allocations: 100.2 kB / 0.774 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.041e-05/0.6676, allocations: 94.69 kB / 0.7741 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.6676, allocations: 37.19 kB / 0.7742 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.6676, allocations: 0 / 0.7742 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002551/0.6702, allocations: 0.9664 MB / 0.7751 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.6702, allocations: 88.48 kB / 0.7752 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.6704, allocations: 211.7 kB / 0.7754 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.6704, allocations: 31.02 kB / 0.7754 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.6705, allocations: 168.4 kB / 0.7756 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/0.6706, allocations: 87.8 kB / 0.7757 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.6707, allocations: 65.48 kB / 0.7757 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.6708, allocations: 330.6 kB / 0.7761 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.671, allocations: 133.6 kB / 0.7762 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.6712, allocations: 211.7 kB / 0.7764 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.6716, allocations: 366.2 kB / 0.7767 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.6716, allocations: 2.094 kB / 0.7767 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008188/0.6724, allocations: 0.5074 MB / 0.7772 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6724, allocations: 10.91 kB / 0.7772 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.6725, allocations: 6.531 kB / 0.7772 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/0.673, allocations: 147.5 kB / 0.7774 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.6732, allocations: 56.23 kB / 0.7774 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003632/0.6769, allocations: 4.194 MB / 0.7815 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.6771, allocations: 22.16 kB / 0.7816 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.6772, allocations: 13 kB / 0.7816 GB, free: 12.96 MB / 0.5919 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 (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.0002673/0.6774, allocations: 166.7 kB / 0.7817 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.6775, allocations: 19.12 kB / 0.7817 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009745/0.6785, allocations: 482.3 kB / 0.7822 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6785, allocations: 3.938 kB / 0.7822 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6785, allocations: 0 / 0.7822 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.6785, allocations: 1.906 kB / 0.7822 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.6802, allocations: 0.9921 MB / 0.7832 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6802, allocations: 8.062 kB / 0.7832 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.6803, allocations: 32.16 kB / 0.7832 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.6807, allocations: 146.3 kB / 0.7834 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.6808, allocations: 9.203 kB / 0.7834 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003536/0.6843, allocations: 4.165 MB / 0.7874 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6843, allocations: 7.375 kB / 0.7874 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/0.6853, allocations: 0.6142 MB / 0.788 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.6854, allocations: 130.4 kB / 0.7882 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.6855, allocations: 14.23 kB / 0.7882 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.6857, allocations: 19.61 kB / 0.7882 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.6858, allocations: 28.17 kB / 0.7882 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.6858, allocations: 12.73 kB / 0.7882 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002598/0.6861, allocations: 156.5 kB / 0.7884 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6861, allocations: 4 kB / 0.7884 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006185/0.6867, allocations: 86.89 kB / 0.7885 GB, free: 7.152 MB / 0.5919 GB 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.0002304/0.6869, allocations: 133.8 kB / 0.7886 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.688, allocations: 0.5769 MB / 0.7892 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.688, allocations: 0 / 0.7892 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005797/0.6886, allocations: 396.1 kB / 0.7895 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.6891, allocations: 46.42 kB / 0.7896 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.6903, allocations: 0.6383 MB / 0.7902 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.6908, allocations: 0.789 MB / 0.791 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.691, allocations: 56.58 kB / 0.791 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.691, allocations: 20.66 kB / 0.7911 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.691, allocations: 0 / 0.7911 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of Templates: time 0.01048/0.7015, allocations: 4.37 MB / 0.7953 GB, free: 4.957 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.231034058146179] Failed to read output from testmodel.py, exit status != 0: 0.7112952400930226 0.731071406 0.065133497 Calling exit ...