Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.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.0008671/0.0008671, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008635/0.0008635, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8624/0.8624, allocations: 177.2 MB / 203.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.641/1.641, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.908e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.004887/0.004906, allocations: 5.997 MB / 0.9576 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003741/0.008648, allocations: 4.327 MB / 0.9618 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002899/0.008938, allocations: 35.69 kB / 0.9618 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.01006, allocations: 0.9088 MB / 0.9627 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009983/0.01106, allocations: 0.806 MB / 0.9635 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.01142, allocations: 323.4 kB / 0.9638 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008362/0.01225, allocations: 1.191 MB / 0.965 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/0.01284, allocations: 0.5755 MB / 0.9655 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005349/0.01338, allocations: 0.7132 MB / 0.9662 GB, free: 4.074 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.01377, allocations: 418.8 kB / 0.9666 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.01384, allocations: 68 kB / 0.9667 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.0141, allocations: 263.4 kB / 0.9669 GB, free: 3.34 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.01425, allocations: 267.1 kB / 0.9672 GB, free: 3.074 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.01443, allocations: 283.3 kB / 0.9675 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007289/0.01515, allocations: 1.079 MB / 0.9685 GB, free: 1.715 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.01516, allocations: 0 / 0.9685 GB, free: 1.715 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.91e-07/0.01516, allocations: 0 / 0.9685 GB, free: 1.715 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.01517, allocations: 0 / 0.9685 GB, free: 1.715 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001105/0.01627, allocations: 1.049 MB / 0.9695 GB, free: 0.6328 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.0163, allocations: 8.031 kB / 0.9696 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.01781, allocations: 0.6402 MB / 0.9702 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.01837, allocations: 0.5077 MB / 0.9707 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.01839, allocations: 41.67 kB / 0.9707 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.01845, allocations: 52.38 kB / 0.9708 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.0196, allocations: 1.159 MB / 0.9719 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.01961, allocations: 7.875 kB / 0.9719 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.01966, allocations: 27.98 kB / 0.9719 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/0.0197, allocations: 45.28 kB / 0.972 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.02105, allocations: 1.004 MB / 0.973 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.02325, allocations: 2.275 MB / 0.9752 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008488/0.0241, allocations: 490.2 kB / 0.9756 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.02439, allocations: 208.7 kB / 0.9758 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.02442, allocations: 4 kB / 0.9758 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.02444, allocations: 38.56 kB / 0.9759 GB, free: 9.961 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.02444, allocations: 4 kB / 0.9759 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of matching and sorting (n=43): time 0.003617/0.02805, allocations: 2.007 MB / 0.9778 GB, free: 7.926 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.02809, allocations: 59.36 kB / 0.9779 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.02844, allocations: 494.8 kB / 0.9784 GB, free: 7.367 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.02847, allocations: 33.7 kB / 0.9784 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.02863, allocations: 376.5 kB / 0.9788 GB, free: 6.953 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.02872, allocations: 158.7 kB / 0.9789 GB, free: 6.797 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.02883, allocations: 90.14 kB / 0.979 GB, free: 6.703 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.02899, allocations: 362.8 kB / 0.9793 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.02936, allocations: 270.6 kB / 0.9796 GB, free: 6.07 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.02977, allocations: 373.1 kB / 0.98 GB, free: 5.66 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007802/0.03055, allocations: 0.646 MB / 0.9806 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.03055, allocations: 0 / 0.9806 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001371/0.03192, allocations: 0.9821 MB / 0.9816 GB, free: 3.965 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.03194, allocations: 6.344 kB / 0.9816 GB, free: 3.961 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.03195, allocations: 4 kB / 0.9816 GB, free: 3.957 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006677/0.03261, allocations: 329.1 kB / 0.9819 GB, free: 3.617 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.0329, allocations: 119.8 kB / 0.982 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/0.03741, allocations: 8.497 MB / 0.9903 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.03767, allocations: 43.89 kB / 0.9903 GB, free: 10.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.0377, allocations: 24.06 kB / 0.9904 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005151/0.03822, allocations: 444.9 kB / 0.9908 GB, free: 9.887 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004076/0.03863, allocations: 372.7 kB / 0.9911 GB, free: 9.484 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007835/0.03941, allocations: 0.6286 MB / 0.9917 GB, free: 8.812 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.03941, allocations: 4 kB / 0.9917 GB, free: 8.809 MB / 0.948 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001314/0.04072, allocations: 0.9347 MB / 0.9927 GB, free: 7.848 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.04073, allocations: 12.06 kB / 0.9927 GB, free: 7.836 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.04074, allocations: 4 kB / 0.9927 GB, free: 7.832 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.04135, allocations: 292.9 kB / 0.993 GB, free: 7.527 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.04162, allocations: 123.8 kB / 0.9931 GB, free: 7.406 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/0.04551, allocations: 8.36 MB / 1.001 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.04577, allocations: 44.14 kB / 1.001 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.0458, allocations: 23.98 kB / 1.001 GB, free: 14.36 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.04592, allocations: 208.1 kB / 1.002 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.04598, allocations: 63.56 kB / 1.002 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.845e-05/0.04605, allocations: 77.62 kB / 1.002 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.04605, allocations: 4 kB / 1.002 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.04606, allocations: 4 kB / 1.002 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.04606, allocations: 0 / 1.002 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.04647, allocations: 496.7 kB / 1.002 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.04647, allocations: 0 / 1.002 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.0467, allocations: 95.78 kB / 1.002 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005343/0.04723, allocations: 289 kB / 1.002 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.04726, allocations: 12 kB / 1.002 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004413/0.05167, allocations: 8.379 MB / 1.011 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.05167, allocations: 0 / 1.011 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.05356, allocations: 0.9447 MB / 1.012 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.05377, allocations: 99.56 kB / 1.012 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.05383, allocations: 8 kB / 1.012 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.0542, allocations: 39.95 kB / 1.012 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.05432, allocations: 48 kB / 1.012 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.05435, allocations: 8 kB / 1.012 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003577/0.05471, allocations: 334.9 kB / 1.012 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.1e-08/0.05471, allocations: 0 / 1.012 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001122/0.05583, allocations: 315.9 kB / 1.012 GB, free: 2.281 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001452/0.05597, allocations: 111.4 kB / 1.013 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002988/0.05896, allocations: 2.353 MB / 1.015 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.05896, allocations: 0 / 1.015 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.05997, allocations: 0.9958 MB / 1.016 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/0.06082, allocations: 201.4 kB / 1.016 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.06291, allocations: 1.344 MB / 1.017 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.06327, allocations: 387.2 kB / 1.018 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.06345, allocations: 44.48 kB / 1.018 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of SimCode: time 1.192e-06/0.06345, allocations: 3.938 kB / 1.018 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of Templates: time 0.01793/0.08138, allocations: 27.01 MB / 1.044 GB, free: 1.578 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 8.806689646095037] Failed to read output from testmodel.py, exit status != 0: 0.4954776680096984 0.502361946 0.485866926 Calling exit ...