Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001631/0.001631, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001989/0.001989, allocations: 211.7 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.302/1.302, allocations: 203.5 MB / 0.5038 GB, free: 4.914 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 63.91 kB / 0.7182 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7165, allocations: 102 MB / 0.8178 GB, free: 29.06 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005214/0.7217, allocations: 3.045 MB / 0.8208 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003532/0.7253, allocations: 1.89 MB / 0.8227 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.7255, allocations: 9.125 kB / 0.8227 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.7265, allocations: 281.7 kB / 0.8229 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0006395/0.7271, allocations: 196.8 kB / 0.8231 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008938/0.728, allocations: 247.6 kB / 0.8234 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.7285, allocations: 326.4 kB / 0.8237 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.7289, allocations: 159.8 kB / 0.8238 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.7291, allocations: 134.9 kB / 0.8239 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.7295, allocations: 152.8 kB / 0.8241 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.7295, allocations: 21 kB / 0.8241 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009025/0.7304, allocations: 383.5 kB / 0.8245 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.7306, allocations: 88.36 kB / 0.8246 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.7307, allocations: 100.8 kB / 0.8247 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008226/0.7315, allocations: 0.4899 MB / 0.8251 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7315, allocations: 0.5625 kB / 0.8251 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7315, allocations: 1.031 kB / 0.8251 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.7315, allocations: 0 / 0.8251 GB, free: 24.84 MB / 0.6387 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.0009674/0.7325, allocations: 0.4972 MB / 0.8256 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.7325, allocations: 10.09 kB / 0.8256 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009034/0.7334, allocations: 109.6 kB / 0.8257 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.7338, allocations: 206.3 kB / 0.8259 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.7338, allocations: 21.14 kB / 0.826 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.7339, allocations: 17.17 kB / 0.826 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006475/0.7345, allocations: 409.4 kB / 0.8264 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.7346, allocations: 5.281 kB / 0.8264 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.7346, allocations: 6.938 kB / 0.8264 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.507e-05/0.7346, allocations: 26 kB / 0.8264 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.7352, allocations: 293.7 kB / 0.8267 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.7372, allocations: 1.232 MB / 0.8279 GB, free: 22.97 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.7377, allocations: 236.5 kB / 0.8281 GB, free: 22.86 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.7379, allocations: 104.5 kB / 0.8282 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.453e-05/0.738, allocations: 12.67 kB / 0.8282 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.738, allocations: 41.09 kB / 0.8283 GB, free: 22.76 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.738, allocations: 0 / 0.8283 GB, free: 22.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=23): time 0.002604/0.7406, allocations: 0.8903 MB / 0.8291 GB, free: 22.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.7406, allocations: 83.89 kB / 0.8292 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.7408, allocations: 216.4 kB / 0.8294 GB, free: 22.17 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.7408, allocations: 27.27 kB / 0.8294 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.7409, allocations: 176.2 kB / 0.8296 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.741, allocations: 80.11 kB / 0.8297 GB, free: 21.92 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.7411, allocations: 72.98 kB / 0.8298 GB, free: 21.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.7412, allocations: 329.6 kB / 0.8301 GB, free: 21.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.7414, allocations: 134.5 kB / 0.8302 GB, free: 21.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.7416, allocations: 205.8 kB / 0.8304 GB, free: 21.37 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.7421, allocations: 373.8 kB / 0.8308 GB, free: 21.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7421, allocations: 0 / 0.8308 GB, free: 21.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008685/0.7429, allocations: 0.4997 MB / 0.8312 GB, free: 20.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.743, allocations: 6.656 kB / 0.8312 GB, free: 20.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.743, allocations: 2.75 kB / 0.8312 GB, free: 20.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/0.7435, allocations: 152.1 kB / 0.8314 GB, free: 20.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.7438, allocations: 60.88 kB / 0.8315 GB, free: 20.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.7462, allocations: 3.939 MB / 0.8353 GB, free: 17.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.7464, allocations: 18.23 kB / 0.8353 GB, free: 17.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.7464, allocations: 15.53 kB / 0.8353 GB, free: 17.14 MB / 0.6387 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.0001835/0.7466, allocations: 167.7 kB / 0.8355 GB, free: 17 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.7467, allocations: 28.55 kB / 0.8355 GB, free: 16.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000868/0.7475, allocations: 462.9 kB / 0.836 GB, free: 16.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7476, allocations: 4.781 kB / 0.836 GB, free: 16.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7476, allocations: 5.406 kB / 0.836 GB, free: 16.76 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7476, allocations: 1.453 kB / 0.836 GB, free: 16.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.749, allocations: 0.8996 MB / 0.8368 GB, free: 16.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.749, allocations: 2.938 kB / 0.8369 GB, free: 16.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.7492, allocations: 34.02 kB / 0.8369 GB, free: 16.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004031/0.7496, allocations: 140.7 kB / 0.837 GB, free: 16.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.7496, allocations: 16.62 kB / 0.837 GB, free: 16.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.7518, allocations: 3.893 MB / 0.8408 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.7518, allocations: 7.391 kB / 0.8408 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/0.7526, allocations: 0.6244 MB / 0.8415 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.7528, allocations: 48.88 kB / 0.8415 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.7528, allocations: 9.797 kB / 0.8415 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.753, allocations: 18.69 kB / 0.8415 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.7531, allocations: 31.34 kB / 0.8416 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.7531, allocations: 13.34 kB / 0.8416 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001591/0.7533, allocations: 156.6 kB / 0.8417 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7533, allocations: 0 / 0.8417 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006332/0.7539, allocations: 93.75 kB / 0.8418 GB, free: 11.85 MB / 0.6387 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.0002148/0.7541, allocations: 139.5 kB / 0.8419 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009858/0.7551, allocations: 0.5689 MB / 0.8425 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.7551, allocations: 0 / 0.8425 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.7556, allocations: 395.4 kB / 0.8429 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/0.7561, allocations: 40.47 kB / 0.8429 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.7572, allocations: 0.6271 MB / 0.8435 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.7574, allocations: 178.8 kB / 0.8437 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.7576, allocations: 60.09 kB / 0.8438 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.7577, allocations: 20.78 kB / 0.8438 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.7577, allocations: 0 / 0.8438 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.01078/0.7684, allocations: 4.392 MB / 0.8481 GB, free: 10.14 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0446591936051846] Failed to read output from testmodel.py, exit status != 0: 0.7780372481793165 0.791610208 0.057195188 Calling exit ...