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.001201/0.001201, allocations: 109.8 kB / 18.89 MB, free: 2.875 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.001238/0.001238, allocations: 205.5 kB / 22.18 MB, free: 5.18 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.323/1.323, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 179] 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 0.9953/0.9953, allocations: 175.8 MB / 481.9 MB, free: 7.707 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.001917/0.001917, allocations: 69.11 kB / 0.6705 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4963, allocations: 94.54 MB / 0.7628 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003908/0.5002, allocations: 3.175 MB / 0.7659 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.5025, allocations: 1.969 MB / 0.7678 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.5026, allocations: 5.719 kB / 0.7678 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007829/0.5034, allocations: 292.4 kB / 0.7681 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.5038, allocations: 195.3 kB / 0.7683 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.5042, allocations: 250.9 kB / 0.7685 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.5045, allocations: 321.5 kB / 0.7688 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.5048, allocations: 141.4 kB / 0.769 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.5049, allocations: 130.6 kB / 0.7691 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.5052, allocations: 164.6 kB / 0.7693 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.5053, allocations: 19.81 kB / 0.7693 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005973/0.5059, allocations: 407 kB / 0.7697 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.506, allocations: 85.89 kB / 0.7697 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.5061, allocations: 121.2 kB / 0.7699 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006483/0.5067, allocations: 493.5 kB / 0.7703 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5067, allocations: 4.656 kB / 0.7703 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5067, allocations: 0 / 0.7703 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.5068, allocations: 1.094 kB / 0.7703 GB, free: 5.992 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.0008543/0.5076, allocations: 0.5688 MB / 0.7709 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5076, allocations: 10.62 kB / 0.7709 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/0.5084, allocations: 109.3 kB / 0.771 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.5088, allocations: 268.5 kB / 0.7713 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.5088, allocations: 20.48 kB / 0.7713 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.5088, allocations: 18.67 kB / 0.7713 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.5094, allocations: 357.8 kB / 0.7716 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.5094, allocations: 1.875 kB / 0.7716 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.5094, allocations: 6.734 kB / 0.7716 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/0.5095, allocations: 29.69 kB / 0.7717 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.5099, allocations: 291.5 kB / 0.772 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.5118, allocations: 1.736 MB / 0.7736 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.5122, allocations: 316.2 kB / 0.774 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.5123, allocations: 103.7 kB / 0.774 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.921e-05/0.5124, allocations: 94.14 kB / 0.7741 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.5124, allocations: 38 kB / 0.7742 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.5124, allocations: 0 / 0.7742 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002333/0.5147, allocations: 0.9696 MB / 0.7751 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.5148, allocations: 84.33 kB / 0.7752 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.5149, allocations: 212.1 kB / 0.7754 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.515, allocations: 30.73 kB / 0.7754 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.515, allocations: 175.2 kB / 0.7756 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.5151, allocations: 81.34 kB / 0.7757 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/0.5152, allocations: 68.95 kB / 0.7757 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.5152, allocations: 333.9 kB / 0.7761 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.5154, allocations: 130.6 kB / 0.7762 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.5156, allocations: 203 kB / 0.7764 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.516, allocations: 371.9 kB / 0.7767 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.516, allocations: 0 / 0.7767 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007266/0.5167, allocations: 0.5003 MB / 0.7772 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.5167, allocations: 10.58 kB / 0.7772 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5167, allocations: 4.188 kB / 0.7772 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004602/0.5172, allocations: 150.5 kB / 0.7774 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.5174, allocations: 64.58 kB / 0.7774 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.5203, allocations: 4.19 MB / 0.7815 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.5205, allocations: 20.12 kB / 0.7816 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.5205, allocations: 15.09 kB / 0.7816 GB, free: 13.02 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.0001665/0.5207, allocations: 166 kB / 0.7817 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.5208, allocations: 19.25 kB / 0.7817 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008281/0.5216, allocations: 489.8 kB / 0.7822 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5216, allocations: 4.016 kB / 0.7822 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5216, allocations: 0.5312 kB / 0.7822 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5216, allocations: 3.156 kB / 0.7822 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.5231, allocations: 0.9948 MB / 0.7832 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5231, allocations: 4.375 kB / 0.7832 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.5232, allocations: 40.36 kB / 0.7832 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003715/0.5236, allocations: 138.7 kB / 0.7834 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.5236, allocations: 6.969 kB / 0.7834 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/0.5266, allocations: 4.17 MB / 0.7874 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5266, allocations: 6.938 kB / 0.7875 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007564/0.5274, allocations: 0.6192 MB / 0.7881 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.5275, allocations: 127 kB / 0.7882 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.5276, allocations: 12.2 kB / 0.7882 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.5278, allocations: 19.16 kB / 0.7882 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.5278, allocations: 24.53 kB / 0.7882 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.5279, allocations: 9.781 kB / 0.7882 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001388/0.528, allocations: 161.1 kB / 0.7884 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.528, allocations: 0 / 0.7884 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004588/0.5285, allocations: 87.2 kB / 0.7885 GB, free: 7.207 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.0002019/0.5287, allocations: 132.7 kB / 0.7886 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008906/0.5295, allocations: 0.5782 MB / 0.7892 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5296, allocations: 0 / 0.7892 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.5301, allocations: 391.5 kB / 0.7895 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.5305, allocations: 50.92 kB / 0.7896 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.5316, allocations: 0.6804 MB / 0.7903 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.532, allocations: 0.7846 MB / 0.791 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.532, allocations: 23.91 kB / 0.791 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.532, allocations: 0 / 0.791 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of Templates: time 0.01121/0.5432, allocations: 7.631 MB / 0.7985 GB, free: 4.141 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.908690371084958] Failed to read output from testmodel.py, exit status != 0: 0.551365555729717 0.5649715230000001 0.055280924 Calling exit ...