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.001618/0.001618, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.00231/0.00231, allocations: 188.9 kB / 22.23 MB, free: 5.137 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.593/1.593, allocations: 225.6 MB / 251 MB, free: 13.04 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.184/1.184, allocations: 177.9 MB / 484.2 MB, free: 5.359 MB / 382.1 MB " [Timeout remaining time 178] 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.002035/0.002035, allocations: 72.8 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7553/0.7574, allocations: 95.16 MB / 0.7669 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004599/0.762, allocations: 3.18 MB / 0.77 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002946/0.7649, allocations: 1.961 MB / 0.7719 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.7651, allocations: 3.75 kB / 0.7719 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009124/0.766, allocations: 300.7 kB / 0.7722 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.7665, allocations: 192.6 kB / 0.7724 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.7672, allocations: 247.5 kB / 0.7726 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.7676, allocations: 330.1 kB / 0.7729 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.7679, allocations: 132.1 kB / 0.7731 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.7681, allocations: 139.8 kB / 0.7732 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.7683, allocations: 156.7 kB / 0.7734 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.7684, allocations: 20.41 kB / 0.7734 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006449/0.769, allocations: 409.6 kB / 0.7738 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.7691, allocations: 88.67 kB / 0.7738 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.7692, allocations: 127.5 kB / 0.774 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007571/0.77, allocations: 488.3 kB / 0.7744 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.77, allocations: 0.875 kB / 0.7744 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.77, allocations: 4 kB / 0.7744 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.77, allocations: 0 / 0.7744 GB, free: 3.715 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.0008567/0.7709, allocations: 0.4984 MB / 0.7749 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.7709, allocations: 9.031 kB / 0.7749 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008377/0.7718, allocations: 111.1 kB / 0.775 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.7721, allocations: 211.5 kB / 0.7752 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.7721, allocations: 16.7 kB / 0.7753 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.7722, allocations: 16.44 kB / 0.7753 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.7727, allocations: 355.6 kB / 0.7756 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.7728, allocations: 4 kB / 0.7756 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.7728, allocations: 7.219 kB / 0.7756 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.7728, allocations: 29.66 kB / 0.7757 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.7734, allocations: 294.7 kB / 0.7759 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.7755, allocations: 1.616 MB / 0.7775 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.7759, allocations: 252.1 kB / 0.7778 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.7761, allocations: 98.89 kB / 0.7778 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.065e-05/0.7762, allocations: 15.42 kB / 0.7779 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.7762, allocations: 35.47 kB / 0.7779 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.7762, allocations: 4 kB / 0.7779 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002458/0.7786, allocations: 0.8892 MB / 0.7788 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.7787, allocations: 85.02 kB / 0.7788 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.7789, allocations: 217 kB / 0.7791 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.7789, allocations: 32.33 kB / 0.7791 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.7789, allocations: 173.3 kB / 0.7793 GB, free: 472 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.779, allocations: 85.67 kB / 0.7793 GB, free: 404 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.7791, allocations: 59.69 kB / 0.7794 GB, free: 368 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.7791, allocations: 335.9 kB / 0.7797 GB, free: 36 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.7793, allocations: 124.9 kB / 0.7798 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.7796, allocations: 221.9 kB / 0.78 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.7801, allocations: 360.8 kB / 0.7804 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7801, allocations: 0 / 0.7804 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009043/0.781, allocations: 0.5111 MB / 0.7809 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.7811, allocations: 8.484 kB / 0.7809 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.7811, allocations: 1.062 kB / 0.7809 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/0.7816, allocations: 152.7 kB / 0.781 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.7819, allocations: 56.42 kB / 0.7811 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/0.7856, allocations: 3.989 MB / 0.785 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.7859, allocations: 18.88 kB / 0.785 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.7859, allocations: 18.47 kB / 0.785 GB, free: 11.54 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.0002254/0.7861, allocations: 174.2 kB / 0.7852 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.7862, allocations: 24.02 kB / 0.7852 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009419/0.7871, allocations: 464 kB / 0.7857 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.7871, allocations: 4.047 kB / 0.7857 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7872, allocations: 6.188 kB / 0.7857 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.7872, allocations: 1.078 kB / 0.7857 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.7892, allocations: 0.9719 MB / 0.7866 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.7892, allocations: 2.906 kB / 0.7866 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.7893, allocations: 34.81 kB / 0.7866 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004106/0.7897, allocations: 142.8 kB / 0.7868 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.7897, allocations: 8.922 kB / 0.7868 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/0.7935, allocations: 3.953 MB / 0.7907 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7935, allocations: 11.38 kB / 0.7907 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009966/0.7945, allocations: 0.6203 MB / 0.7913 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.7946, allocations: 49.33 kB / 0.7913 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.7946, allocations: 15.38 kB / 0.7913 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.7949, allocations: 23.73 kB / 0.7914 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.7949, allocations: 26.44 kB / 0.7914 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.795, allocations: 11.44 kB / 0.7914 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001879/0.7952, allocations: 157.4 kB / 0.7915 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7952, allocations: 0 / 0.7915 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006038/0.7958, allocations: 89.02 kB / 0.7916 GB, free: 6.113 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.0002368/0.796, allocations: 136.6 kB / 0.7918 GB, free: 6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.797, allocations: 0.5727 MB / 0.7923 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.797, allocations: 1.406 kB / 0.7923 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.7976, allocations: 387.2 kB / 0.7927 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.7981, allocations: 39.98 kB / 0.7927 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.7993, allocations: 0.6405 MB / 0.7934 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.7999, allocations: 0.7811 MB / 0.7941 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.8, allocations: 60.94 kB / 0.7942 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.8001, allocations: 20.78 kB / 0.7942 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.8001, allocations: 0 / 0.7942 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.01188/0.812, allocations: 4.445 MB / 0.7985 GB, free: 3.887 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: 7.213527504354715] Failed to read output from testmodel.py, exit status != 0: 0.8210896635428071 0.836953427 0.06351381399999995 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa3057b17b0>