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.0008091/0.0008091, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008228/0.0008228, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8972/0.8972, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7115/0.7115, allocations: 154.6 MB / 414.5 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.815e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003066/0.003084, allocations: 3.029 MB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.005019, allocations: 1.865 MB / 0.6241 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.005119, allocations: 7.938 kB / 0.6241 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.00564, allocations: 278.8 kB / 0.6244 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004192/0.006059, allocations: 206.8 kB / 0.6246 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.0065, allocations: 255 kB / 0.6248 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.006783, allocations: 342.7 kB / 0.6251 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.00702, allocations: 152.9 kB / 0.6253 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.007223, allocations: 195.5 kB / 0.6255 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.00743, allocations: 139.6 kB / 0.6256 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.007457, allocations: 20 kB / 0.6256 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.007868, allocations: 375.1 kB / 0.626 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.295e-05/0.007951, allocations: 99.7 kB / 0.6261 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.008015, allocations: 79.83 kB / 0.6261 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.008513, allocations: 0.5179 MB / 0.6267 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.008515, allocations: 7.938 kB / 0.6267 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.42e-07/0.008516, allocations: 0 / 0.6267 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.008521, allocations: 0 / 0.6267 GB, free: 5.598 MB / 0.5886 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.0006081/0.009129, allocations: 497.2 kB / 0.6271 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.009162, allocations: 12.03 kB / 0.6271 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004274/0.00959, allocations: 112.6 kB / 0.6273 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.009817, allocations: 205.4 kB / 0.6274 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.009831, allocations: 16.86 kB / 0.6275 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.009855, allocations: 16.38 kB / 0.6275 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.01023, allocations: 409 kB / 0.6279 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.01024, allocations: 192 / 0.6279 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.01026, allocations: 12.38 kB / 0.6279 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.01029, allocations: 24.42 kB / 0.6279 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.01059, allocations: 293.8 kB / 0.6282 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.01175, allocations: 1.23 MB / 0.6294 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.01203, allocations: 239.9 kB / 0.6296 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.01213, allocations: 101.7 kB / 0.6297 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.01218, allocations: 12 kB / 0.6297 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.01221, allocations: 34.56 kB / 0.6298 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.01221, allocations: 3.984 kB / 0.6298 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001465/0.01367, allocations: 0.9048 MB / 0.6306 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.01371, allocations: 85.11 kB / 0.6307 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.01385, allocations: 208.9 kB / 0.6309 GB, free: 1.012 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.01387, allocations: 25.7 kB / 0.6309 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.01395, allocations: 172.5 kB / 0.6311 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.01399, allocations: 83.25 kB / 0.6312 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.01406, allocations: 65.69 kB / 0.6313 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.01415, allocations: 338.8 kB / 0.6316 GB, free: 324 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.01428, allocations: 131.9 kB / 0.6317 GB, free: 192 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.01445, allocations: 202 kB / 0.6319 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.01477, allocations: 365.2 kB / 0.6322 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01477, allocations: 96 / 0.6322 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005184/0.01529, allocations: 0.5016 MB / 0.6327 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.0153, allocations: 4.312 kB / 0.6327 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.0153, allocations: 11.98 kB / 0.6327 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.0156, allocations: 151.3 kB / 0.6329 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.01574, allocations: 59.91 kB / 0.633 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.01759, allocations: 3.934 MB / 0.6368 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.845e-05/0.01768, allocations: 20.38 kB / 0.6368 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.0177, allocations: 20 kB / 0.6368 GB, free: 10.58 MB / 0.6042 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.0001108/0.01781, allocations: 154.8 kB / 0.637 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.01785, allocations: 27.84 kB / 0.637 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.01837, allocations: 467.7 kB / 0.6375 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01837, allocations: 4 kB / 0.6375 GB, free: 9.914 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01837, allocations: 0 / 0.6375 GB, free: 9.914 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.01837, allocations: 4 kB / 0.6375 GB, free: 9.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009141/0.01929, allocations: 0.9019 MB / 0.6383 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.01929, allocations: 4.25 kB / 0.6383 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-05/0.01936, allocations: 35.92 kB / 0.6384 GB, free: 8.895 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/0.01958, allocations: 143.3 kB / 0.6385 GB, free: 8.742 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01959, allocations: 11.98 kB / 0.6385 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.02169, allocations: 3.895 MB / 0.6423 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02169, allocations: 4 kB / 0.6423 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.02218, allocations: 0.6198 MB / 0.6429 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.02225, allocations: 51.83 kB / 0.643 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.02226, allocations: 8 kB / 0.643 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.02238, allocations: 19.97 kB / 0.643 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.02242, allocations: 27.91 kB / 0.643 GB, free: 3.793 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.02243, allocations: 11.94 kB / 0.6431 GB, free: 3.781 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.594e-05/0.02253, allocations: 152.2 kB / 0.6432 GB, free: 3.633 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.02253, allocations: 0 / 0.6432 GB, free: 3.633 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003202/0.02285, allocations: 91.92 kB / 0.6433 GB, free: 3.543 MB / 0.6042 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.0001625/0.02301, allocations: 147 kB / 0.6434 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005802/0.02359, allocations: 0.5722 MB / 0.644 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02359, allocations: 4.062 kB / 0.644 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.02386, allocations: 395 kB / 0.6444 GB, free: 2.379 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.02419, allocations: 39.77 kB / 0.6444 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.02489, allocations: 0.6507 MB / 0.645 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.02502, allocations: 184.8 kB / 0.6452 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.02506, allocations: 24.5 kB / 0.6452 GB, free: 1.418 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.02506, allocations: 0 / 0.6452 GB, free: 1.418 MB / 0.6042 GB Notification: Performance of Templates: time 0.006091/0.03115, allocations: 7.796 MB / 0.6529 GB, free: 9.621 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.97087721619755] Failed to read output from testmodel.py, exit status != 0: 0.035966433584690094 0.044071774 0.033917985000000005 Calling exit ...